-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[feature](local-tvf) support local tvf on shared storage #33050
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
} else if (backendId != -1 && sharedStorage) { | ||
throw new AnalysisException("'shared_storage' should be false when 'backend_id' is set."); | ||
} |
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.
This else-if logic is inconsistent with the pr description?
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.
LGTM
PR approved by anyone and no changes requested. |
run buildall |
TPC-H: Total hot run time: 38552 ms
|
TPC-DS: Total hot run time: 181777 ms
|
ClickBench: Total hot run time: 29.82 s
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
|
PR approved by at least one committer and no changes requested. |
Previously, local tvf can only query data on one BE node. But if the storage is shared(eg, NAS), it can be executed on multi nodes. This PR mainly changes: 1. Add a new property `"shared_stoage" = "false/true"` Default is false, if set to true, "backend_id" is optional. If "backend_id" is set, it still be executed on that BE, if not set, "shared_stoage" must be "true" and it will be executed on multi nodes. Doc: apache/doris-website#494
Proposed changes
Previously, local tvf can only query data on one BE node.
But if the storage is shared(eg, NAS), it can be executed on multi nodes.
This PR mainly changes:
Add a new property
"shared_stoage" = "false/true"
Default is false, if set to true, "backend_id" is optional. If "backend_id" is set,
it still be executed on that BE, if not set, "shared_stoage" must be "true"
and it will be executed on multi nodes.
Doc: apache/doris-website#494
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...