Antalya 26.6: Hybrid tables - #2144
Open
zvonand wants to merge 6 commits into
Open
Conversation
…next commit) --- Original cherry-pick message follows: Merge pull request #1694 from Altinity/feature/antalya-26.3/pr-1442 Antalya 26.3 forward-port: Hybrid tables # Conflicts: # src/Core/Settings.cpp # src/Interpreters/ClusterProxy/executeQuery.cpp # src/Planner/Utils.cpp # src/Storages/StorageDistributed.cpp
…next commit) --- Original cherry-pick message follows: Merge pull request #1788 from Altinity/mkmkme/antalya-26.3/hybrid-segment-pruning Antalya 26.3 Hybrid: added support for segment pruning # Conflicts: # src/Storages/StorageDistributed.cpp
Kept the PR's `StorageDistributed::getStorageSnapshot()` override, which freezes the Hybrid watermark snapshot in `HybridSnapshotData`. Adapted: re-added the `getStorageSnapshot()` declaration in StorageDistributed.h, removed by antalya-26.6 commit 5d159b3 ("rewrite getStorageSnapshot to getInMemoryMetadataPtr"), so the source PR's override body compiles. Source-PR: #1788 (#1788)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Add support for Hybrid tables, which combine local MergeTree storage with data in object storage behind a configurable watermark. Watermarks can be moved with ALTER TABLE MODIFY SETTING and inspected via the new system.hybrid_watermarks table, and queries now skip segments that cannot match the combination of the WHERE clause and the segment predicate.
DONE
Add support for Hybrid tables, which combine local MergeTree storage with data in object storage behind a configurable watermark. Watermarks can be moved with ALTER TABLE MODIFY SETTING and inspected via the new system.hybrid_watermarks table, and queries now skip segments that cannot match the combination of the WHERE clause and the segment predicate.
DONE (#1694 by @zvonand, #1723 by @mkmkme, #1788 by @mkmkme, #1789 by @mkmkme).
CI/CD Options
Exclude tests:
Regression jobs to run:
Combined port of 4 PR(s) (group
auto-grp-pr-1694). Cherry-picked from #1694, #1723, #1788, #1789.