-
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
[Enhancement] (nereids)implement adminCheckTabletsCommand in nereids… #44701
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
ea9d777
to
4236a9e
Compare
run buildall |
TPC-H: Total hot run time: 39770 ms
|
TPC-DS: Total hot run time: 198189 ms
|
ClickBench: Total hot run time: 33.32 s
|
0f3b02f
to
c6d0781
Compare
run buildall |
TPC-H: Total hot run time: 39875 ms
|
TPC-DS: Total hot run time: 198016 ms
|
ClickBench: Total hot run time: 32.98 s
|
...re/src/main/java/org/apache/doris/nereids/trees/plans/commands/AdminCheckTabletsCommand.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
@Override | ||
public RedirectStatus toRedirectStatus() { |
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.
public RedirectStatus toRedirectStatus() { |
no need to override toRedirectStatus if implements ForwardNoSync
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.
Resolved. Please review
public <R, C> R accept(PlanVisitor<R, C> visitor, C context) { | ||
return visitor.visitAdminCheckTabletsCommand(this, context); | ||
} | ||
|
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.
override checkSupportedInCloudMode method and implement as checkDdlStmtSupported() method in DdlExecutor.java like bellow
@Override
protected void checkSupportedInCloudMode(ConnectContext ctx) throws DdlException {
LOG.info("AdminCheckTabletsCommand not supported in cloud mode");
throw new DdlException("Unsupported operation");
}
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.
Resolved. Please review
bd5601a
to
80f24b9
Compare
run buildall |
TPC-H: Total hot run time: 40284 ms
|
TPC-DS: Total hot run time: 191418 ms
|
ClickBench: Total hot run time: 32.17 s
|
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
… #42843
What problem does this PR solve?
Issue Number: close #42843
Related PR: #
Problem Summary:
Support ADMIN CHECK tabletlist command in nereids
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)