Skip to main content

Module migrate

Module migrate 

Source

Structsยง

MigrateResult ๐Ÿ”’

Constantsยง

MIGRATION_VERSION_KEY ๐Ÿ”’
Catalog key of the migration_version setting.

Functionsยง

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 VERSION qualifier from by-id references to non-user (builtin) items.
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_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 ๐Ÿ”’