Skip to content

Commit 0e032cc

Browse files
authored
Merge pull request #878 from Altinity/backports/25.3/79844_icebergS3_fix_count
Antalya 25.3 : Backport of ClickHouse#79844 - ObjectStorageCluster table function return wrong count() after applyTrivialCount optimized
2 parents a6ad598 + fb28f91 commit 0e032cc

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

tests/integration/test_storage_iceberg/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,8 @@ def make_query_from_table(alt_syntax=False):
849849
count_secondary_subqueries(started_cluster, query_id_pure_table_engine_with_type_in_nc, 0, "table engine with storage type in named collection")
850850
count_secondary_subqueries(started_cluster, query_id_pure_table_engine_cluster_with_type_in_nc, 1, "table engine with cluster setting with storage type in named collection")
851851

852+
# write 3 times
853+
assert int(instance.query(f"SELECT count() FROM {table_function_expr_cluster}")) == 100 * 3
852854

853855
@pytest.mark.parametrize("format_version", ["1", "2"])
854856
@pytest.mark.parametrize("storage_type", ["s3", "azure", "local"])

0 commit comments

Comments
 (0)