Re-exports§
pub use crate::constants::hummock;
Modules§
Structs§
- Necessary information for compute node to access data in the external database. Compute node will use this information to connect to the external database and scan the table.
- Column ID is the unique identifier of a column in a table. Different from table ID, column ID is not globally unique.
- The field in the schema of the executor’s return data
- the schema of the executor’s return data
- Includes necessary information for compute node to access data of the table.
Enums§
Constants§
- The default version ID for a new source.
- The default version ID for a new table.
- For kafka source, we attach a hidden column
KAFKA_TIMESTAMP_COLUMN_NAME
to it, so that we can limit the timestamp range when querying it directly with batch query. The column type isDataType::Timestamptz
. For more details, please refer to this rfc. - The column ID preserved for the row ID column.
- The column ID offset for user-defined columns.
Traits§
- The local system catalog reader in the frontend node.
Functions§
- A column to store the upstream table name of the cdc table
- Get distribution key start index in pk, and return None if
dist_key_in_pk_indices
is not empty or continuous. Note thatdist_key_in_pk_indices
may be shuffled, the start index should be the minimum value. - FIXME: perhapts we should use sth like
ColumnIdGenerator::new_alter
, However, theSourceVersion
is problematic: It doesn’t containnext_col_id
. (But for now this isn’t a large problem, since drop column is not allowed for source yet..) - Creates a offset column for storing upstream offset Used in cdc source currently
- Creates a row ID column (for implicit primary key). It’ll always have the ID
0
for now.
Type Aliases§
- The global version of the catalog.
- The version number of the per-source catalog.
- The version number of the per-table catalog.