-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[Feat](Nereids) support unset command #43103
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
TPC-H: Total hot run time: 41506 ms
|
TPC-DS: Total hot run time: 195886 ms
|
ClickBench: Total hot run time: 32.04 s
|
run p0 |
1 similar comment
run p0 |
throw new AnalysisException("Storage Vault is only supported for cloud mode"); | ||
} | ||
if (!FeConstants.runningUnitTest) { | ||
// In legacy cloud mode, some s3 back-ended storage does need to use storage vault. |
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.
vault => value?
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.
storage vault is a word group
/** | ||
* UnSetVarOp | ||
*/ | ||
public class UnsetVariableCommand extends Command implements Forward { |
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.
Forward or ForwardWithSync?
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.
Forward, because it should be decided by toRedirectStatus
|
||
private SetType setType; | ||
|
||
// variables to restore |
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.
why plural?does this command unset one variable or a set of “variables”?
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.
only one variable can be unset at one time, nice check
...e-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/UnsetVariableCommand.java
Show resolved
Hide resolved
8b015d0
to
77ec0e0
Compare
run buildall |
run buildall |
TPC-H: Total hot run time: 41245 ms
|
TPC-DS: Total hot run time: 196305 ms
|
ClickBench: Total hot run time: 32.69 s
|
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
What problem does this PR solve?
Issue Number: close #43102
Problem Summary:
Check List (For Committer)
Test
Behavior changed:
Does this need documentation?
Release note
None
Check List (For Reviewer who merge this PR)