[Fix](ShortCircuit) fix prepared statement with partial arguments prepared#45371
Merged
eldenmoon merged 4 commits intoapache:masterfrom Dec 16, 2024
Merged
Conversation
…pared We should record the placehold id map to both real Expr and the slot of conjuncts.Otherwise the info is lost
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Member
Author
|
run buildall |
TPC-H: Total hot run time: 39860 ms |
TPC-DS: Total hot run time: 197601 ms |
ClickBench: Total hot run time: 32.45 s |
Member
Author
|
run buildall |
TPC-H: Total hot run time: 39839 ms |
TPC-DS: Total hot run time: 190209 ms |
ClickBench: Total hot run time: 32.5 s |
morrySnow
reviewed
Dec 13, 2024
| """ | ||
| sql "insert into test_partial_prepared_statement values ('user_guid', 'feature', 'sk','feature_value', '2021-01-01 00:00:00')" | ||
| def result2 = connect(user, password, prepare_url) { | ||
| def partial_prepared_stmt = prepareStatement "select /*+ SET_VAR(enable_nereids_planner=true) */ * from regression_test_point_query_p0.test_partial_prepared_statement where sk = 'sk' and user_guid = 'user_guid' and feature = ? " |
Contributor
There was a problem hiding this comment.
enable_nereids_planner is useless, could be removed
924060929
previously approved these changes
Dec 13, 2024
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
Member
Author
|
run buildall |
qidaye
approved these changes
Dec 16, 2024
Contributor
|
PR approved by at least one committer and no changes requested. |
github-actions bot
pushed a commit
that referenced
this pull request
Dec 16, 2024
…pared (#45371) We should record the placehold id map to both real Expr and the slot of conjuncts.Otherwise the info is lost, and lead to the conjuncts updated in wrong order(`updateScanNodeConjuncts`)
eldenmoon
added a commit
to eldenmoon/incubator-doris
that referenced
this pull request
Dec 20, 2024
…pared (apache#45371) We should record the placehold id map to both real Expr and the slot of conjuncts.Otherwise the info is lost, and lead to the conjuncts updated in wrong order(`updateScanNodeConjuncts`)
eldenmoon
added a commit
to eldenmoon/incubator-doris
that referenced
this pull request
Dec 20, 2024
…pared (apache#45371) We should record the placehold id map to both real Expr and the slot of conjuncts.Otherwise the info is lost, and lead to the conjuncts updated in wrong order(`updateScanNodeConjuncts`)
yiguolei
pushed a commit
that referenced
this pull request
Dec 23, 2024
hubgeter
pushed a commit
to hubgeter/doris
that referenced
this pull request
Mar 12, 2025
…pared (apache#45371) (apache#3680) cherry-pick from apache#45371
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
We should record the placehold id map to both real Expr and the slot of conjuncts.Otherwise the info is lost, and lead to the conjuncts updated in wrong order(
updateScanNodeConjuncts)Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)