Open raphaelauv opened 1 month ago
@jkylling PTAL
It even fails on
String tableName = "parquet_with_bloom_filters_" + randomNameSuffix();
CatalogSchemaTableName catalogSchemaTableName = new CatalogSchemaTableName("iceberg", new SchemaTableName("tpch", tableName));
assertUpdate(format("CREATE TABLE %s WITH (format = 'PARQUET', parquet_bloom_filter_columns = ARRAY['t']) AS SELECT * FROM (VALUES 1, 1) s(t)", catalogSchemaTableName), 2);
If a page of a column chunk has dictionary encoding we currently do not write its values into the Bloom filter, but we will still try to write a Bloom filter for that column. Luckily this check caught it.
It probably makes sense to remove the check and do one of:
hi , I can't run
on a table that have bloom filters
it log