-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Feature](Point Query) fully support in nereids #35823
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
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: 40576 ms |
TPC-DS: Total hot run time: 169826 ms |
ClickBench: Total hot run time: 30.78 s |
|
done |
| public static final String MAX_INSTANCE_NUM = "max_instance_num"; | ||
| public static final String ENABLE_INSERT_STRICT = "enable_insert_strict"; | ||
| public static final String ENABLE_SPILLING = "enable_spilling"; | ||
| public static final String ENABLE_SHORT_CIRCUIT_QUERY = "enable_short_circuit_query"; |
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.
suggest a more specific name enable_short_circuit_point_query
|
|
||
| @Override | ||
| public void exec() throws Exception { | ||
| // Do nothing |
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 do nothing? Add comment to explain.
fe/fe-core/src/main/java/org/apache/doris/qe/PointQueryExecutor.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/qe/PointQueryExecutor.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ExecuteCommand.java
Show resolved
Hide resolved
.../java/org/apache/doris/nereids/rules/analysis/LogicalResultSinkToShortCircuitPointQuery.java
Outdated
Show resolved
Hide resolved
6600f4c to
07b73bc
Compare
|
run buildall |
xiaokang
left a comment
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 at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 39579 ms |
TPC-DS: Total hot run time: 172514 ms |
ClickBench: Total hot run time: 30.4 s |
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/RuleType.java
Outdated
Show resolved
Hide resolved
.../java/org/apache/doris/nereids/rules/analysis/LogicalResultSinkToShortCircuitPointQuery.java
Outdated
Show resolved
Hide resolved
.../java/org/apache/doris/nereids/rules/analysis/LogicalResultSinkToShortCircuitPointQuery.java
Outdated
Show resolved
Hide resolved
.../java/org/apache/doris/nereids/rules/analysis/LogicalResultSinkToShortCircuitPointQuery.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ExecuteCommand.java
Show resolved
Hide resolved
|
run buildall |
TPC-H: Total hot run time: 39916 ms |
TPC-DS: Total hot run time: 172266 ms |
ClickBench: Total hot run time: 30.19 s |
|
run buildall |
TPC-H: Total hot run time: 39787 ms |
TPC-DS: Total hot run time: 173236 ms |
ClickBench: Total hot run time: 30.93 s |
|
PR approved by at least one committer and no changes requested. |
Queries like `select * from tbl` will pass `LogicalResultSinkToShortCircuitPointQuery` rule in the previous. Introduced by #35823
…e#36400) Queries like `select * from tbl` will pass `LogicalResultSinkToShortCircuitPointQuery` rule in the previous. Introduced by apache#35823
Queries like `select * from tbl` will pass `LogicalResultSinkToShortCircuitPointQuery` rule in the previous. Introduced by #35823
Proposed changes
step2: support short circuit query and short circuit(full) prepared
step1 PR: #35318
original implementation in legacy planner: #15491
Issue Number: close #xxx