Skip to content

Commit 70ffe93

Browse files
authored
Merge pull request #885 from Altinity/fix_integration_tests_storage_iceberg
Antalya 25.3 : Fix integration tests storage iceber (after #878)
2 parents 0e032cc + 57e2785 commit 70ffe93

File tree

1 file changed

+20
-0
lines changed
  • tests/integration/test_storage_iceberg

1 file changed

+20
-0
lines changed

tests/integration/test_storage_iceberg/test.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)