Structsยง
- DdlSubmit
Options ๐
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_
entity_ ๐column_ renders_ as_ string - ensure_
partition_ ๐expr_ columns_ in_ target - ensure_
partition_ ๐operand_ columns_ in_ target - ensure_
table_ ๐definition_ writable ensure_table_writableplus 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.
- has_
stable_ ๐string_ form - Whether
CAST(column AS Utf8)yields a stable entity-id string โ the binary-backed and nested types do not, and without the DDL check the failure would surface only when the graph is scanned. - 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_ flow_ options - validate_
entity_ ๐semantic_ options - Validates
greptime.semantic.entity.<type>.{id|descriptive|scope}options against the table schema: every named column must exist (tag or field) and have a stable string form โ the derivation renders id, scope and descriptive values as strings. - validate_
json2_ ๐columns_ append_ mode - validate_
repartition_ ๐column_ hint - verify_
alter - Verifies an alter and returns whether it is necessary to perform the alter.