Skip to main content

Module ddl

Module ddl 

Source

StructsΒ§

DdlSubmitOptions πŸ”’

ConstantsΒ§

ALLOWED_FLOW_OPTIONS πŸ”’

FunctionsΒ§

build_procedure_id_output πŸ”’
column_name_and_type πŸ”’
convert_identifier πŸ”’
convert_one_expr πŸ”’
convert_value πŸ”’
create_table_info
determine_flow_type_for_source_state πŸ”’
ensure_partition_expr_columns_in_target πŸ”’
ensure_partition_operand_columns_in_target πŸ”’
ensure_table_definition_writable πŸ”’
ensure_table_writable plus the definition guard for system-defined tables: user CREATE, ALTER and RENAME-into are rejected so the canonical schema cannot be squatted or mutated. DROP and TRUNCATE stay allowed β€” the next INSERT recreates the table canonically, which is also the recovery path if the canonical definition changes across an upgrade.
ensure_table_writable πŸ”’
Rejects DDL against read-only schemas and computed entity-graph tables.
find_partition_columns πŸ”’
find_partition_entries πŸ”’
Parse Partitions into a group of partition entries.
normalize_flow_bool_option πŸ”’
parse_ddl_options πŸ”’
parse_partitions
Parse partition statement Partitions into PartitionExpr and partition columns.
parse_partitions_for_logical_validation πŸ”’
supported_flow_options πŸ”’
validate_and_collect_partition_columns πŸ”’
validate_and_normalize_annotations πŸ”’
CREATE-side annotation validation: one rule source in the table crate, mapped onto this crate’s existing error variants so client-visible codes and messages stay put.
validate_and_normalize_flow_options πŸ”’
validate_eval_offset πŸ”’
Validates EVAL OFFSET semantics at the operator boundary: an offset is only legal together with EVAL INTERVAL and must lie in [0, eval_interval). Never modulo-normalized.
validate_json2_columns_append_mode πŸ”’
verify_alter
Verifies an alter and returns whether it is necessary to perform the alter.