Skip to content

Commit 2229800

Browse files
committed
fix test accordingly
1 parent f38f666 commit 2229800

File tree

1 file changed

+3
-3
lines changed
  • tests/integration/test_database_hms

1 file changed

+3
-3
lines changed

tests/integration/test_database_hms/test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,14 @@ def test_list_tables(started_cluster):
199199
assert (
200200
tables_list
201201
== node.query(
202-
f"SELECT name FROM system.tables WHERE database = '{CATALOG_NAME}' and name ILIKE '{root_namespace}%' ORDER BY name"
202+
f"SELECT name FROM system.tables WHERE database = '{CATALOG_NAME}' and name ILIKE '{root_namespace}%' ORDER BY name SETTINGS show_data_lake_catalogs_in_system_tables=1"
203203
).strip()
204204
)
205205
node.restart_clickhouse()
206206
assert (
207207
tables_list
208208
== node.query(
209-
f"SELECT name FROM system.tables WHERE database = '{CATALOG_NAME}' and name ILIKE '{root_namespace}%' ORDER BY name"
209+
f"SELECT name FROM system.tables WHERE database = '{CATALOG_NAME}' and name ILIKE '{root_namespace}%' ORDER BY name SETTINGS show_data_lake_catalogs_in_system_tables=1"
210210
).strip()
211211
)
212212

@@ -235,7 +235,7 @@ def test_many_namespaces(started_cluster):
235235
table_name = f"{namespace}.{table}"
236236
assert int(
237237
node.query(
238-
f"SELECT count() FROM system.tables WHERE database = '{CATALOG_NAME}' and name = '{table_name}'"
238+
f"SELECT count() FROM system.tables WHERE database = '{CATALOG_NAME}' and name = '{table_name}' SETTINGS show_data_lake_catalogs_in_system_tables=1"
239239
)
240240
)
241241

0 commit comments

Comments
 (0)