Conversation
There was a problem hiding this comment.
Make it a Note, not TODO. CBO has no use for NaN counts today
|
@homar are you aware of any changes impacting users that flows from this upgrade? |
I am not. Main reason for this update is that it should allow us to implement row level deletes and updates for orc files. |
60df744 to
c8dcd1e
Compare
There was a problem hiding this comment.
These are Iceberg metrics that are part of the Iceberg specification, and thus we should be writing them. The purpose of MetricsWrapper is to allow JSON serialization of Iceberg Metrics, so we should pass the value through here. The Parquet writer already collects NaN counts, and the ORC writer should be updated to collect them in the future.
Saying "Trino doesn't use them so we don't care" is hostile.
There was a problem hiding this comment.
Replace comment with
// TODO: Add nanValueCounts to ORC writer44e5b7c to
922ea65
Compare
|
@electrum could you please take another look ? |
|
One of the changes in 0.13 was to deprecate the Can you add an appropriate test to |
electrum
left a comment
There was a problem hiding this comment.
Minor comments, otherwise looks good
There was a problem hiding this comment.
Add values so we test the serialization
There was a problem hiding this comment.
We should also test NaN counts for Parquet
There was a problem hiding this comment.
I don't see any tests for metrics for Parquet format. Nothing like TestIcebergOrcMetricsCollection exists for parquet. I will add a ticket to create such a test
|
In case that this PR gets merged only after #11062 please do remove the Iceberg related code for deleting table metadata files in |
922ea65 to
33685cd
Compare
33685cd to
d032b67
Compare
Description
Updates apache iceberg version to 0.13.1
General information
Related issues, pull requests, and links
Documentation
(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
(x) No release notes entries required.
( ) Release notes entries required with the following suggested text: