From 826397d8619a2e1a9cada64cb88d9d18dcd36bb2 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 15 Oct 2024 10:26:27 +0200 Subject: [PATCH] - correct test name - add test that checks that there are cardinalities in the generated parquet_scans --- test/sql/iceberg_scan_generated_data_0_001.test | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/sql/iceberg_scan_generated_data_0_001.test b/test/sql/iceberg_scan_generated_data_0_001.test index 6350e3d..ab5378f 100644 --- a/test/sql/iceberg_scan_generated_data_0_001.test +++ b/test/sql/iceberg_scan_generated_data_0_001.test @@ -1,4 +1,4 @@ -# name: test/sql/iceberg_scan_generated_data_0_001.test_slow +# name: test/sql/iceberg_scan_generated_data_0_001.test # description: test iceberg extension with the sf0.001 generated test set # group: [iceberg] @@ -106,3 +106,9 @@ statement error DESCRIBE SELECT schema_evol_added_col_1 FROM ICEBERG_SCAN('data/iceberg/generated_spec2_0_001/pyspark_iceberg_table/metadata/v6.metadata.json') ORDER BY uuid; ---- Binder Error + +# Check that there are injected cardinality +query II +EXPLAIN SELECT count(*) FROM ICEBERG_SCAN('data/iceberg/generated_spec2_0_001/pyspark_iceberg_table'); +---- +physical_plan :.* ANTI .*PARQUET_SCAN.*Rows.*Rows.* \ No newline at end of file