forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 19
Export partition - allow non matching partition expressions in case we can prove the destination expression does not split the data #2074
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
Open
arthurpassos
wants to merge
46
commits into
antalya-26.3
Choose a base branch
from
feature/antalya-26.3/export-partition-monotonic-compat
base: antalya-26.3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
3f47047
vibe coded monotonicity check for mt -> iceberg exports
arthurpassos 343c2d9
add some more tests
arthurpassos 3f3af7c
make tests better
arthurpassos d385268
more vibe coded changes
arthurpassos 454e9fc
recompute dst key with correct set of parts, include tz
arthurpassos abcba15
Merge branch 'antalya-26.3' into feature/antalya-26.3/export-partitio…
arthurpassos 4e10ade
Merge branch 'antalya-26.3' into feature/antalya-26.3/export-partitio…
arthurpassos e4a69a0
some more vibe coded style changes
arthurpassos c60c97d
add missing tests
arthurpassos a9f51e1
code simplification
arthurpassos 12c5e5b
some docs
arthurpassos ca43cf1
handle iceberg_timezone
arthurpassos 56fde58
missing arg restore
arthurpassos ee1993a
docs
arthurpassos 41fbe8f
opsy
arthurpassos 450eddc
possible simplification
arthurpassos 6df47c7
some more simplifications
arthurpassos 1501cc7
add some comments
arthurpassos a89d2f0
simplifications and docs
arthurpassos 776be0b
fix more vibe coded issues
arthurpassos 7495ab6
further simplifications
arthurpassos e75220d
one more simplification
arthurpassos 4285c90
fix tests
arthurpassos c439e33
rename variable
arthurpassos 43096d4
opsy
arthurpassos 78024e2
docs and style changes
arthurpassos 2015f2a
more docs
arthurpassos ad1301f
shitty changes
arthurpassos a690e33
rmv too verbose documentation
arthurpassos e055b1f
unify
arthurpassos 3848194
vibe coded short term fix
arthurpassos 12f73f0
rmv not necessary comment
arthurpassos 584186f
Revert "vibe coded short term fix"
arthurpassos b4cca45
check type casting
arthurpassos d256041
vibe coded fix
arthurpassos c529fbe
function extraction
arthurpassos 55304f7
simplification
arthurpassos 3e60b54
piggy back some bug fixes
arthurpassos 1822382
re-use existing code and make the structural match a bit more flexible
arthurpassos 378d9ca
Merge branch 'antalya-26.3' into feature/antalya-26.3/export-partitio…
arthurpassos 9a6a4db
one fix for sure
arthurpassos 834a50b
fix lc(nullable)
arthurpassos 0743a3d
fix tests
arthurpassos 7caa8d4
fix a few tests
arthurpassos 35605c1
rmv corner case
arthurpassos 9a1cb91
rmv duplicated call
arthurpassos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
We try to set this setting for export. But if we have several columns with different timezones, we would set the value from the setting for all of them, right?
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.
I think that's how this setting was designed, @ianton-ru can confirm. AFAIK, this setting was created due to a misconception on the Apache Iceberg specs (the spec itself is poorly written) when it was believed we could tweak the timezone of an apache iceberg column. When in reality, according to 3rd party docs, the types are always UTC.