tlegrave opened a new issue, #895:
URL: https://github.com/apache/iceberg-python/issues/895

   ### Apache Iceberg version
   
   main (development)
   
   ### Please describe the bug 🐞
   
   Hello there,
   
   When creating a table, I can pass properties like bloom filters like so:
   
   ```py
   catalog.create_table(
       "default.example",
       schema=Schema(
           NestedField(1, "created_at", TimestampType(), required=True)
       ),
       properties={"write.parquet.bloom-filter-enabled.column.material_id": 
"true"},
   )
   ```
   
   This gives me the correct configuration for the table:
   
   ```sql
   CREATE TABLE iceberg.default.example (
      created_at timestamp(6) NOT NULL
   )
   WITH (
      format = 'PARQUET',
      format_version = 2,
      location = 's3://test-bucket/default/example',
      parquet_bloom_filter_columns = ARRAY['material_id']
   )
   ```
   
   However, if I use a boolean instead of a string in the properties (e.g. 
`{"write.parquet.bloom-filter-enabled.column.material_id": True}`, it silently 
ignores the filter.
   
   ```sql
   CREATE TABLE iceberg.default.example (
      created_at timestamp(6) NOT NULL
   )
   WITH (
      format = 'PARQUET',
      format_version = 2,
      location = 's3://test-bucket/default/example'
   )
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to