mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 09:52:38 +00:00
Change * to a specific column,because if the new version of system.tables adds a new column,it will cause an identifier error
This commit is contained in:
parent
692926c9ab
commit
94b4a5190f
@ -43,7 +43,7 @@ def test_two_new_versions(start_cluster):
|
||||
|
||||
query_id = str(uuid.uuid4())
|
||||
current.query(
|
||||
"SELECT * FROM clusterAllReplicas('test_cluster_mixed', system.tables);",
|
||||
"SELECT name FROM clusterAllReplicas('test_cluster_mixed', system.tables);",
|
||||
query_id=query_id,
|
||||
)
|
||||
|
||||
@ -73,7 +73,7 @@ WHERE initial_query_id = '{query_id}';"""
|
||||
|
||||
query_id = str(uuid.uuid4())
|
||||
backward.query(
|
||||
"SELECT * FROM clusterAllReplicas('test_cluster_mixed', system.tables)",
|
||||
"SELECT name FROM clusterAllReplicas('test_cluster_mixed', system.tables)",
|
||||
query_id=query_id,
|
||||
)
|
||||
|
||||
@ -108,7 +108,7 @@ WHERE initial_query_id = '{query_id}';"""
|
||||
# to the remote server.
|
||||
query_id = str(uuid.uuid4())
|
||||
current.query(
|
||||
"SELECT * FROM clusterAllReplicas('test_cluster_mixed', system.tables) SETTINGS enable_analyzer = 1;",
|
||||
"SELECT name FROM clusterAllReplicas('test_cluster_mixed', system.tables) SETTINGS enable_analyzer = 1;",
|
||||
query_id=query_id,
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user