[feat](mtmv)Unified external table interface supporting partition refresh and partition pruning#44673
Merged
morrySnow merged 2 commits intoapache:masterfrom Nov 28, 2024
Merged
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 40130 ms |
Contributor
Author
|
run cloud_p0 |
Contributor
Author
|
run external |
TPC-DS: Total hot run time: 198108 ms |
ClickBench: Total hot run time: 31.63 s |
Contributor
Author
|
run cloud_p0 |
Contributor
|
run cloud_p0 |
morrySnow
previously approved these changes
Nov 27, 2024
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 39631 ms |
TPC-DS: Total hot run time: 191171 ms |
ClickBench: Total hot run time: 32.47 s |
Contributor
|
PR approved by at least one committer and no changes requested. |
morrySnow
approved these changes
Nov 28, 2024
zddr
added a commit
to zddr/incubator-doris
that referenced
this pull request
Nov 29, 2024
…resh and partition pruning (apache#44673) - Add `MvccTable` to represent a table that supports querying specified version data - Add the `MvccSnapshot` interface to store snapshot information of mvcc at a certain moment in time - Add the `MvccSnapshot` parameter to the method of the `MTMVRelatedTableIf `interface to retrieve data of a specified version - Partition pruning related methods combined with the `MvccSnapshot` parameter are used to obtain partition information for a specified version - Load the snapshot information of mvccTable at the beginning of the query plan and store it in StatementContext Unified external table interface supporting partition refresh and partition pruning
zddr
added a commit
to zddr/incubator-doris
that referenced
this pull request
Dec 2, 2024
…resh and partition pruning (apache#44673) - Add `MvccTable` to represent a table that supports querying specified version data - Add the `MvccSnapshot` interface to store snapshot information of mvcc at a certain moment in time - Add the `MvccSnapshot` parameter to the method of the `MTMVRelatedTableIf `interface to retrieve data of a specified version - Partition pruning related methods combined with the `MvccSnapshot` parameter are used to obtain partition information for a specified version - Load the snapshot information of mvccTable at the beginning of the query plan and store it in StatementContext Unified external table interface supporting partition refresh and partition pruning
kaka11chen
pushed a commit
that referenced
this pull request
Dec 2, 2024
16 tasks
morrySnow
pushed a commit
that referenced
this pull request
Dec 11, 2024
In the previous PR, a snapshot of the table was obtained and stored in the statementContext at the beginning of the query. The modification of this PR is to ensure that the same metadata is used during the query process. When calling the relevant interface, snapshot needs to be obtained from statementContext as a parameter and passed to the relevant method Related PR: #44911 #44673
zddr
added a commit
to zddr/incubator-doris
that referenced
this pull request
Jun 19, 2025
…resh and partition pruning (apache#44673) - Add `MvccTable` to represent a table that supports querying specified version data - Add the `MvccSnapshot` interface to store snapshot information of mvcc at a certain moment in time - Add the `MvccSnapshot` parameter to the method of the `MTMVRelatedTableIf `interface to retrieve data of a specified version - Partition pruning related methods combined with the `MvccSnapshot` parameter are used to obtain partition information for a specified version - Load the snapshot information of mvccTable at the beginning of the query plan and store it in StatementContext Unified external table interface supporting partition refresh and partition pruning
zddr
added a commit
to zddr/incubator-doris
that referenced
this pull request
Jun 19, 2025
In the previous PR, a snapshot of the table was obtained and stored in the statementContext at the beginning of the query. The modification of this PR is to ensure that the same metadata is used during the query process. When calling the relevant interface, snapshot needs to be obtained from statementContext as a parameter and passed to the relevant method Related PR: apache#44911 apache#44673
zddr
added a commit
to zddr/incubator-doris
that referenced
this pull request
Jun 19, 2025
…resh and partition pruning (apache#44673) - Add `MvccTable` to represent a table that supports querying specified version data - Add the `MvccSnapshot` interface to store snapshot information of mvcc at a certain moment in time - Add the `MvccSnapshot` parameter to the method of the `MTMVRelatedTableIf `interface to retrieve data of a specified version - Partition pruning related methods combined with the `MvccSnapshot` parameter are used to obtain partition information for a specified version - Load the snapshot information of mvccTable at the beginning of the query plan and store it in StatementContext Unified external table interface supporting partition refresh and partition pruning
zddr
added a commit
to zddr/incubator-doris
that referenced
this pull request
Jun 19, 2025
In the previous PR, a snapshot of the table was obtained and stored in the statementContext at the beginning of the query. The modification of this PR is to ensure that the same metadata is used during the query process. When calling the relevant interface, snapshot needs to be obtained from statementContext as a parameter and passed to the relevant method Related PR: apache#44911 apache#44673
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.
What problem does this PR solve?
MvccTableto represent a table that supports querying specified version dataMvccSnapshotinterface to store snapshot information of mvcc at a certain moment in timeMvccSnapshotparameter to the method of theMTMVRelatedTableIfinterface to retrieve data of a specified versionMvccSnapshotparameter are used to obtain partition information for a specified versionIssue Number: close #xxx
Related PR: #xxx
Problem Summary:
Unified external table interface supporting partition refresh and partition pruning
Release note
Unified external table interface supporting partition refresh and partition pruning
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)