File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed
integration/test_storage_iceberg Expand file tree Collapse file tree 3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -712,6 +712,26 @@ def add_df(mode):
712712 instance .query (f"SELECT * FROM { table_function_expr } " ).strip ().split ()
713713 )
714714
715+ # Cluster Query with node1 as coordinator
716+ table_function_expr_cluster = get_creation_expression (
717+ storage_type ,
718+ TABLE_NAME ,
719+ started_cluster ,
720+ table_function = True ,
721+ run_on_cluster = True ,
722+ )
723+
724+ select_cluster = (
725+ instance .query (f"SELECT * FROM { table_function_expr_cluster } " ).strip ().split ()
726+ )
727+
728+ # Simple size check
729+ assert len (select_regular ) == 600
730+ assert len (select_cluster ) == 600
731+
732+ # Actual check
733+ assert select_cluster == select_regular
734+
715735 def make_query_from_function (
716736 run_on_cluster = False ,
717737 alt_syntax = False ,
Original file line number Diff line number Diff line change 1- clickhouse.com
1+ <link rel="icon" href="data:image/svg+xml;base64,PHN2ZyB
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
44# shellcheck source=../shell_config.sh
55. " $CURDIR " /../shell_config.sh
66
7- ${CLICKHOUSE_CURL} -sS " ${CLICKHOUSE_PORT_HTTP_PROTO} ://${CLICKHOUSE_HOST} :${CLICKHOUSE_PORT_HTTP} /play" | grep -o -F ' clickhouse.com '
7+ ${CLICKHOUSE_CURL} -sS " ${CLICKHOUSE_PORT_HTTP_PROTO} ://${CLICKHOUSE_HOST} :${CLICKHOUSE_PORT_HTTP} /play" | grep -o -F ' <link rel="icon" href="data:image/svg+xml;base64,PHN2ZyB '
You can’t perform that action at this time.
0 commit comments