mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
black check
This commit is contained in:
parent
6298d23a2f
commit
c572290e50
@ -31,10 +31,7 @@ def test_distributed_table_with_alias(start_cluster):
|
|||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
# Attempt to execute the query
|
# Attempt to execute the query
|
||||||
node.query(
|
node.query("WITH 'Hello' AS `alias` SELECT `alias` FROM dist GROUP BY `alias`;")
|
||||||
"WITH 'Hello' AS `alias` SELECT `alias` FROM dist GROUP BY `alias`;"
|
|
||||||
)
|
|
||||||
except QueryRuntimeException as e:
|
except QueryRuntimeException as e:
|
||||||
# If an exception occurs, fail the test
|
# If an exception occurs, fail the test
|
||||||
pytest.fail(f"Query raised an exception: {e}")
|
pytest.fail(f"Query raised an exception: {e}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user