StructsΒ§
- Migrate
Result π
ConstantsΒ§
- MIGRATION_
VERSION_ πKEY - Catalog key of the
migration_versionsetting.
FunctionsΒ§
- ast_
rewrite_ πadd_ missing_ doc_ on_ ids - Add missing item IDs to
DOC ONreferences in CREATE SINK statements. - ast_
rewrite_ πadd_ missing_ index_ ids - Add missing item IDs to the ON clauses of CREATE INDEX statements.
- ast_
rewrite_ πcreate_ sink_ partition_ strategy - ast_
rewrite_ πkafka_ metadata_ refresh_ intervals - ast_
rewrite_ πsmall_ commit_ intervals - Planning enforces a 1 second minimum
COMMIT INTERVAL, but smaller intervals used to be accepted (and a sub-millisecond one left the sink unable to ever commit). Rewrite any persisted smaller interval to 1s so the sink still plans after an upgrade. - ast_
rewrite_ πsql_ server_ constraints - ast_
rewrite_ πstrip_ builtin_ version_ pins - Strips the
VERSIONqualifier from by-id references to non-user (builtin) items. - ast_
rewrite_ πstrip_ unsupported_ column_ collations - Planning rejects unsupported column collations, but
CREATE TABLEused to accept and ignore them. Strip them so the table still plans after an upgrade. The planner never applied them, so the tableβs columns are unchanged. - durable_
migrate π - Migrations that run only on the durable catalog before any data is loaded into memory.
- get_
migration_ πversion - migrate π
- Migrates all user items and loads them into
state. - migrate_
builtin_ πtables_ to_ mvs - Update system object mappings for builtins whose type changed from table to materialized view.
- rewrite_
ast_ πitems - rewrite_
doc_ πon_ ids - Replaces every bare
DOC ONreference instmtfor whichlookupreturns an id with the[id AS name]form.Noneleaves the reference as a name. - rewrite_
interval_ πoption_ floor_ 1s - Rewrites an interval option value to
'1s'if it is below 1 second. - rewrite_
items π - rewrite_
sources_ πto_ tables - Migrates all sources to use the new sources as tables model
- set_
migration_ πversion