Skip to content

Conversation

divanik and others added 14 commits April 10, 2025 23:07
…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
…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
@svb-alt svb-alt added the antalya-25.2.2 Planned for 25.2.2 release label Apr 11, 2025
Copy link
Collaborator

@arthurpassos arthurpassos left a 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
Copy link
Collaborator

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?

Copy link
Author

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

Copy link
Author

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
Copy link
Collaborator

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;
Copy link
Collaborator

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>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

@Enmk Enmk merged commit 11d0423 into antalya Apr 14, 2025
227 of 322 checks passed
Enmk added a commit that referenced this pull request Jun 3, 2025
…ache

25.3 Antalya port of #733, #738, #742 - Iceberg metadata cache, partition pruning, min/max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants