-
Notifications
You must be signed in to change notification settings - Fork 14
Support Iceberg Metadata Files Cache #77156 #733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nce_id_and_implementation_refactoring Add sequence id to iceberg metadata and iceberg avro parsing refactoring
…parsing_in_iceberg Fix path parsing in iceberg
Add `icebergTruncate` function and support it in partition pruning for Iceberg
…ime_travel_by_snapshots Iceberg time travel by snapshots
Refactor operations with Avro files in Iceberg-related code.
…_iceberg Trivial count optimization for iceberg
…ceberg Refactor some code in Iceberg Storage
Minmax iceberg
…ng_for_metadata Allow to specify metadata file for Iceberg
…-issue delta-kernel: fix progress bar, fix performance
…-pruning-in-delta-kernel Support partition pruning in DeltaLake engine
…und-data-lakes Small refactoring around data lakes
…eatadata_cache Support Iceberg Metadata Files Cache
arthurpassos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to properly review this PR, it would take a whole week if not more. All I could do was sanity check. Given the deadlines, I guess we have to trust CI/CD and merge it.
QA could help a lot on this one.
| ZoneInfoSourceFactory zone_info_source_factory = custom_factory; | ||
| } | ||
|
|
||
| DateLUTImpl::Values DateLUTImpl::lutIndexByMonthSinceEpochStartsZeroIndexing(Int32 months) const |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this being removed? What does DateLut has to do with iceberg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in ClickHouse#77403, code in that PR totally refactored and this methods are not used anymore. PR added partition pruning for Iceberg.
https://github.com/ClickHouse/ClickHouse/pull/77403/files#r1998468379
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR makes a refactoring in Iceberg code, and PR Iceberg metadata cache changes the same code later, so I cherry-picked it to get less conflicts.
| }; | ||
|
|
||
| template <ResultPrecision precision_> | ||
| struct ToYearNumSinceEpochImpl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this?
| static constexpr bool bit_hamming_distance = IsSameOperation<Op, BitHammingDistanceImpl>::value; | ||
|
|
||
| static constexpr bool division = div_floating || int_div || int_div_or_zero || modulo; | ||
| static constexpr bool division = div_floating || int_div || int_div_or_zero || modulo || positive_modulo; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
| @@ -0,0 +1,24 @@ | |||
| #include <Functions/FunctionFactory.h> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
Backport of Support Iceberg Metadata Files Cache
ClickHouse#77156
And dependencies
ClickHouse#78775
ClickHouse#78486
ClickHouse#78368
ClickHouse#77318
ClickHouse#78242
ClickHouse#78021
ClickHouse#78090
ClickHouse#77916
ClickHouse#77439
ClickHouse#77403
ClickHouse#76681
ClickHouse#75010