[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.
storage vault is a word group
| /** | ||
| * UnSetVarOp | ||
| */ | ||
| public class UnsetVariableCommand extends Command implements Forward { |
There was a problem hiding this comment.
Forward or ForwardWithSync?
There was a problem hiding this comment.
Forward, because it should be decided by toRedirectStatus
|
|
||
| private SetType setType; | ||
|
|
||
| // variables to restore |
There was a problem hiding this comment.
why plural?does this command unset one variable or a set of “variables”?
There was a problem hiding this comment.
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)