Skip to content

Commit 612f975

Browse files
antiguruclaude
andcommitted
sqllogictest: regenerate catalog enumerations for scoped parameters
Regenerate the autogenerated catalog enumeration golden files for the new `mz_cluster_system_parameters` / `mz_replica_system_parameters` introspection relations: the `mz_internal` doc-lint enumeration, the OID allocations, and the `information_schema.tables` listing. The catalog doc lint (ci/test/lint-docs-catalog.py) passes against the reference-doc entries. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f89c10c commit 612f975

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

test/sqllogictest/autogenerated/mz_internal.slt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,20 @@ role_id text The␠role␠ID␠of␠the␠role␠that␠the␠session␠is␠l
452452
client_ip text The␠IP␠address␠of␠the␠client␠that␠initiated␠the␠session.
453453
connected_at timestamp␠with␠time␠zone The␠time␠at␠which␠the␠session␠connected␠to␠the␠system.
454454

455+
query TTT
456+
SELECT name, type, comment FROM objects WHERE schema = 'mz_internal' AND object = 'mz_cluster_system_parameters' ORDER BY position
457+
----
458+
cluster_id text The␠ID␠of␠the␠cluster.␠Corresponds␠to␠`mz_clusters.id`.
459+
name text The␠name␠of␠the␠cluster-coherent␠system␠parameter.
460+
value text The␠cluster-scoped␠value␠of␠the␠system␠parameter,␠as␠resolved␠from␠LaunchDarkly.
461+
462+
query TTT
463+
SELECT name, type, comment FROM objects WHERE schema = 'mz_internal' AND object = 'mz_replica_system_parameters' ORDER BY position
464+
----
465+
replica_id text The␠ID␠of␠the␠cluster␠replica.␠Corresponds␠to␠`mz_cluster_replicas.id`.
466+
name text The␠name␠of␠the␠replica-local␠system␠parameter.
467+
value text The␠replica-scoped␠value␠of␠the␠system␠parameter,␠as␠resolved␠from␠LaunchDarkly.
468+
455469
query TTT
456470
SELECT name, type, comment FROM objects WHERE schema = 'mz_internal' AND object = 'mz_network_policies' ORDER BY position
457471
----
@@ -754,6 +768,7 @@ mz_cluster_replica_statuses
754768
mz_cluster_replica_utilization
755769
mz_cluster_replica_utilization_history
756770
mz_cluster_schedules
771+
mz_cluster_system_parameters
757772
mz_cluster_workload_classes
758773
mz_comments
759774
mz_compute_dependencies
@@ -806,6 +821,7 @@ mz_recent_activity_log_thinned
806821
mz_recent_sql_text
807822
mz_recent_sql_text_redacted
808823
mz_replacements
824+
mz_replica_system_parameters
809825
mz_session_history
810826
mz_sessions
811827
mz_show_all_my_privileges

test/sqllogictest/information_schema_tables.slt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,10 @@ mz_cluster_schedules
341341
BASE TABLE
342342
materialize
343343
mz_internal
344+
mz_cluster_system_parameters
345+
BASE TABLE
346+
materialize
347+
mz_internal
344348
mz_cluster_workload_classes
345349
MATERIALIZED VIEW
346350
materialize
@@ -549,6 +553,10 @@ mz_replacements
549553
BASE TABLE
550554
materialize
551555
mz_internal
556+
mz_replica_system_parameters
557+
BASE TABLE
558+
materialize
559+
mz_internal
552560
mz_session_history
553561
SOURCE
554562
materialize

test/sqllogictest/oid.slt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,3 +1192,5 @@ SELECT oid, name FROM mz_objects WHERE id LIKE 's%' AND oid < 20000 ORDER BY oid
11921192
17086 mz_session_role_memberships
11931193
17087 mz_builtin_sources
11941194
17088 mz_indexes
1195+
17089 mz_cluster_system_parameters
1196+
17090 mz_replica_system_parameters

0 commit comments

Comments
 (0)