oneonestar opened a new issue, #9490:
URL: https://github.com/apache/iceberg/issues/9490

   ### Apache Iceberg version
   
   1.4.2 (latest release)
   
   ### Query engine
   
   Trino
   
   ### Please describe the bug 🐞
   
   In Trino 436 (Iceberg 1.4.3), `write.parquet.compression-codec` property is 
also being set even if the file-format is not parquet. 
(https://github.com/trinodb/trino/issues/20401)
   
   I think the problem could be related to
   https://github.com/apache/iceberg/pull/8593#issuecomment-1740507634
   
   ```
   trino> CREATE TABLE test.property_test (c1 integer) WITH (format = 'ORC');
   CREATE TABLE
   trino> SELECT * FROM test."property_test$properties";
                  key               | value
   ---------------------------------+-------
    write.format.default            | ORC
    write.parquet.compression-codec | zstd
   (2 rows)
   
   trino> CREATE TABLE test.property_test (c1 integer) WITH (format = 'AVRO');
   CREATE TABLE
   trino> SELECT * FROM test."property_test$properties";
                  key               | value
   ---------------------------------+-------
    write.format.default            | AVRO
    write.parquet.compression-codec | zstd
   (2 rows)
   ```
   


-- 
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