You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"export_merge_tree_part_file_already_exists_policy", "skip", "skip", "New setting."},
56
56
{"iceberg_timezone_for_timestamptz", "UTC", "UTC", "New setting."},
57
57
{"hybrid_table_auto_cast_columns", true, true, "New setting to automatically cast Hybrid table columns when segments disagree on types. Default enabled."},
58
-
{"allow_experimental_hybrid_table", false, false, "Added new setting to allow the Hybrid table engine."}
59
-
{"show_data_lake_catalogs_in_system_tables", true, false, "Disable catalogs in system tables by default"},
58
+
{"allow_experimental_hybrid_table", false, false, "Added new setting to allow the Hybrid table engine."},
60
59
{"optimize_rewrite_like_perfect_affix", false, true, "New setting"},
61
60
{"allow_dynamic_type_in_join_keys", true, false, "Disallow using Dynamic type in JOIN keys by default"},
62
61
{"use_skip_indexes_on_data_read", false, true, "Enabled skip index usage in read phase by default"},
assertint(node.query(f"SELECT count() FROM system.tables WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%' SETTINGS show_data_lake_catalogs_in_system_tables = true").strip()) ==4
622
-
assertint(node.query(f"SELECT count() FROM system.tables WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%'").strip()) ==0
622
+
assertint(node.query(f"SELECT count() FROM system.tables WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%'").strip()) ==4
623
+
assertint(node.query(f"SELECT count() FROM system.tables WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%' SETTINGS show_data_lake_catalogs_in_system_tables = false").strip()) ==0
623
624
624
625
# system.iceberg_history - always displays irrespective of show_data_lake_catalogs_in_system_tables
625
626
assertint(node.query(f"SELECT count() FROM system.iceberg_history WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%' SETTINGS show_data_lake_catalogs_in_system_tables = true").strip()) ==4
626
627
assertint(node.query(f"SELECT count() FROM system.iceberg_history WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%' SETTINGS show_data_lake_catalogs_in_system_tables = false").strip()) ==4
627
628
628
629
# system.databases
629
630
assertint(node.query(f"SELECT count() FROM system.databases WHERE name = '{CATALOG_NAME}' SETTINGS show_data_lake_catalogs_in_system_tables = true").strip()) ==1
630
-
assertint(node.query(f"SELECT count() FROM system.databases WHERE name = '{CATALOG_NAME}'").strip()) ==0
631
+
assertint(node.query(f"SELECT count() FROM system.databases WHERE name = '{CATALOG_NAME}'").strip()) ==1
632
+
assertint(node.query(f"SELECT count() FROM system.databases WHERE name = '{CATALOG_NAME}' SETTINGS show_data_lake_catalogs_in_system_tables = false").strip()) ==0
631
633
632
634
# system.columns
633
635
assertint(node.query(f"SELECT count() FROM system.columns WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%' SETTINGS show_data_lake_catalogs_in_system_tables = true").strip()) ==24
634
-
assertint(node.query(f"SELECT count() FROM system.columns WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%'").strip()) ==0
636
+
assertint(node.query(f"SELECT count() FROM system.columns WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%'").strip()) ==24
637
+
assertint(node.query(f"SELECT count() FROM system.columns WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%' SETTINGS show_data_lake_catalogs_in_system_tables = false").strip()) ==0
635
638
636
639
# system.completions
637
640
assertint(node.query(f"SELECT count() FROM system.completions WHERE startsWith(word, '{test_ref}') SETTINGS show_data_lake_catalogs_in_system_tables = true").strip()) !=0
638
-
assertint(node.query(f"SELECT count() FROM system.completions WHERE startsWith(word, '{test_ref}')").strip()) ==0
641
+
assertint(node.query(f"SELECT count() FROM system.completions WHERE startsWith(word, '{test_ref}')").strip()) !=0
642
+
assertint(node.query(f"SELECT count() FROM system.completions WHERE startsWith(word, '{test_ref}') SETTINGS show_data_lake_catalogs_in_system_tables = false").strip()) ==0
0 commit comments