-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[improvement](hive) Batch Hive metastore partition access #67186
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
CalvinKirs
wants to merge
29
commits into
apache:master
Choose a base branch
from
CalvinKirs:batch_interface
base: master
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.
+4,192
−255
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
7ab8c53
[improvement](fe) Batch Hive metastore partition access
CalvinKirs 6fbbbb4
[fix](fe) Harden HMS partition batch access
CalvinKirs 1cd171d
[fix](fe) Fix Hive connector import order
CalvinKirs c98592f
[fix](fe) Address HMS batch review findings
CalvinKirs 9487b21
[refactor](fe) Narrow HMS partition batching scope
CalvinKirs 45d4bf6
[fix](hive) Harden HMS partition batch orchestration
CalvinKirs cd381ed
[fix](hive) Finalize HMS partition batch orchestration
CalvinKirs 43ff2d5
[fix](hive) Isolate interrupted HMS partition owners
CalvinKirs 45c9c88
[fix](hive) Harden HMS batch metadata access
CalvinKirs ca50890
[fix](hive) Address final HMS batch review findings
CalvinKirs 53c6d22
[fix](hive) Harden retry and task context lifecycle
CalvinKirs d65bcbe
[fix](fe) Bound connector metrics and drain statement resources
CalvinKirs 41d91f3
[fix](fe) Finalize connector metadata cleanup edges
CalvinKirs 38bee8e
[improvement](hive) Bound HMS partition object requests
CalvinKirs 397ff82
[improvement](hive) Expose HMS batch timing in query profile
CalvinKirs 9326b56
[fix](hive) Address partition batch review findings
CalvinKirs f2df310
[fix](hive) Preserve freshness and pruning profiles
CalvinKirs a18837b
[fix](hive) Preserve HMS partition access contracts
CalvinKirs 6903af8
[fix](hive) Finalize HMS batch failure diagnostics
CalvinKirs a722199
[fix](hive) Preserve failed HMS batch profiles
CalvinKirs 24bb27d
[chore](hive) Merge master into HMS batch branch
CalvinKirs 43bed7d
[fix](hive) Preserve stats on unpooled HMS close failure
CalvinKirs ac1c113
[fix](hive) Address batch partition review findings
CalvinKirs c6c5996
[fix](fe) Remove unused MVCC table import
CalvinKirs 4c73968
[fix](hive) Preserve HMS single-flight request contracts
CalvinKirs f95c451
[refactor](fe) Simplify HMS partition batch access
CalvinKirs 0956800
[fix](fe) Isolate overlapping HMS partition load failures
CalvinKirs 62fd254
[fix](hive) Normalize HMS partition batch size
CalvinKirs 0478f0c
[fix](fe) Preserve HMS failure sharing and MTMV pins
CalvinKirs 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
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.
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.
[P2] Preserve failed pruning stats before the scan provider exists. A selective equality-pruning request can perform HMS batches and then throw a stats-bearing
HmsClientExceptionhere, before a new handle orHiveScanPlanProvideris created.convertPredicatepropagates that failure, so the synchronous/batch finalizers never run and the Query Profile omits the request that aborted planning. The existing fixes cover successful pruning handoff and failures insideplanScan, not this earlier boundary. Establish the scan-scoped profile owner before filter pushdown (or otherwise publish the attached stats while preserving the primary exception), and add a production-chain failing-prune test.