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):
711
711
instance .query (f"SELECT * FROM { table_function_expr } " ).strip ().split ()
712
712
)
713
713
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
+
714
734
def make_query_from_function (
715
735
run_on_cluster = False ,
716
736
alt_syntax = False ,
You can’t perform that action at this time.
0 commit comments