Zoltan Borok-Nagy has posted comments on this change. ( 
https://gerrit.cloudera.org/25425 )

Change subject: IMPALA-15794: Fix the Iceberg metrics of FLOAT and DOUBLE 
columns
......................................................................


Patch Set 2:

(8 comments)

Thanks for the comments!

https://gerrit.cloudera.org/#/c/25425/1//COMMIT_MSG
Commit Message:

https://gerrit.cloudera.org/#/c/25425/1//COMMIT_MSG@24
PS1, Line 24: he maximum i
> I think we are not testing this yet.
Added test_signed_zeros_for_floating_types to test_parquet_page_index.py. It 
checks the page index and the Parquet statistics.


https://gerrit.cloudera.org/#/c/25425/1/be/src/exec/parquet/parquet-column-stats-test.cc
File be/src/exec/parquet/parquet-column-stats-test.cc:

https://gerrit.cloudera.org/#/c/25425/1/be/src/exec/parquet/parquet-column-stats-test.cc@237
PS1, Line 237: ComputeIcebergS
> Can we rename this helper to something like ComputeIcebergStats as it share
Done


https://gerrit.cloudera.org/#/c/25425/1/be/src/exec/parquet/parquet-column-stats-test.cc@242
PS1, Line 242:  < values.siz
> nit: could use size_t for unsigned comparison.
Done


https://gerrit.cloudera.org/#/c/25425/1/be/src/exec/parquet/parquet-column-stats.h
File be/src/exec/parquet/parquet-column-stats.h:

https://gerrit.cloudera.org/#/c/25425/1/be/src/exec/parquet/parquet-column-stats.h@81
PS1, Line 81: so the bounds also follow Iceberg's total order.
> nit: I think "so the bounds also follow Iceberg's total order" reads better
Done


https://gerrit.cloudera.org/#/c/25425/1/be/src/exec/parquet/parquet-column-stats.h@124
PS1, Line 124:   virtual void EncodeToThrift(parquet::Statistics* out) const = 
0;
             :
> should we mention about nan_count here?
Done


https://gerrit.cloudera.org/#/c/25425/1/be/src/exec/parquet/parquet-column-stats.inline.h
File be/src/exec/parquet/parquet-column-stats.inline.h:

https://gerrit.cloudera.org/#/c/25425/1/be/src/exec/parquet/parquet-column-stats.inline.h@92
PS1, Line 92:   return true;
> Parquet statistics don't carry the NaN count and we only set the null count
Done.


https://gerrit.cloudera.org/#/c/25425/1/be/src/exec/parquet/parquet-column-stats.inline.h@293
PS1, Line 293:   }
> This only drops the bounds on the iceberg side. Could you check the comment
Done, the Parquet statistics no longer have NaN min/max either. Pages with only 
NaNs don't get into the page index, because Impala doesn't write it when there 
are NaNs (IMPALA-8498).


https://gerrit.cloudera.org/#/c/25425/1/common/fbs/IcebergObjects.fbs
File common/fbs/IcebergObjects.fbs:

https://gerrit.cloudera.org/#/c/25425/1/common/fbs/IcebergObjects.fbs@78
PS1, Line 78: ng point c
> nit: we dont mention double in other places like hdfs-table-writer.h L48, w
Done



--
To view, visit https://gerrit.cloudera.org/25425
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb0bdb1d4e28bd70ea204937675fd6f15a2c1db1
Gerrit-Change-Number: 25425
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Tue, 17 Nov 2026 13:16:26 +0000
Gerrit-HasComments: Yes

Reply via email to