File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
tests/integration/test_storage_iceberg Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -711,6 +711,26 @@ def add_df(mode):
711711 instance .query (f"SELECT * FROM { table_function_expr } " ).strip ().split ()
712712 )
713713
714+ # Cluster Query with node1 as coordinator
715+ table_function_expr_cluster = get_creation_expression (
716+ storage_type ,
717+ TABLE_NAME ,
718+ started_cluster ,
719+ table_function = True ,
720+ run_on_cluster = True ,
721+ )
722+
723+ select_cluster = (
724+ instance .query (f"SELECT * FROM { table_function_expr_cluster } " ).strip ().split ()
725+ )
726+
727+ # Simple size check
728+ assert len (select_regular ) == 600
729+ assert len (select_cluster ) == 600
730+
731+ # Actual check
732+ assert select_cluster == select_regular
733+
714734 def make_query_from_function (
715735 run_on_cluster = False ,
716736 alt_syntax = False ,
You can’t perform that action at this time.
0 commit comments