b-rick commented on PR #13609:
URL: https://github.com/apache/iceberg/pull/13609#issuecomment-3138811026
This change results in unintuitive behaviour for parquet compression codec:
This is flink-write-conf:
`FlinkWriteConf`
```
public String parquetCompressionCodec() {
return confParser
.stringConf()
.option(FlinkWriteOptions.COMPRESSION_CODEC.key())
.flinkConfig(FlinkWriteOptions.COMPRESSION_CODEC)
.tableProperty(TableProperties.PARQUET_COMPRESSION)
.defaultValue(TableProperties.PARQUET_COMPRESSION_DEFAULT)
.parse();
}
```
It defaults to `TableProperties.PARQUET_COMPRESSION_DEFAULT` if (which is
gzip)
Now, in my **table** properties, I have set
`write.parquet-compression-codec` to `zstd` _explicitly_.
In this change, my explicit setting of `write.parquet-compression-codec` is
overriden by a default in flink, which seems like bad behaviour. Is this
intended?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]