Skip to main content

Module alter

Module alter 

Source

ConstantsΒ§

LOCATION_TYPE_AFTER πŸ”’
LOCATION_TYPE_FIRST πŸ”’

FunctionsΒ§

alter_expr_to_request
Convert an [AlterTableExpr] to an [AlterTableRequest]
annotation_alter_family
Returns the annotation family when kind is a SET/UNSET whose keys all belong to one family β€” the alters that only rewrite table metadata and skip region dispatch. A mixed batch is an error; never interpret it as β€œnot an annotation alter”, or the batch falls through to a path that reports a misleading error (or dispatches to regions).
annotation_family_of_keys πŸ”’
Classifies a SET/UNSET key batch: Ok(Some(family)) when every key belongs to the same annotation family, Ok(None) when none does, and an error on a mixed batch β€” annotation alters skip region dispatch, so they cannot share a statement with options that regions must see.
create_table_schema
parse_location πŸ”’
set_index_option_from_proto πŸ”’
unset_index_option_from_proto πŸ”’