planner: rename optimizer hints#11673
Conversation
b832063 to
d668790
Compare
Codecov Report
@@ Coverage Diff @@
## master #11673 +/- ##
================================================
- Coverage 81.4841% 81.4003% -0.0838%
================================================
Files 433 433
Lines 93525 93190 -335
================================================
- Hits 76208 75857 -351
- Misses 11881 11890 +9
- Partials 5436 5443 +7 |
|
Idc fails because use |
|
PTAL. @lzmhhh123 @lamxTyler @XuHuaiyu |
|
/run-all-tests |
e08391d to
720d9d3
Compare
|
/run-all-tests |
27d96ce to
f69753e
Compare
|
/run-all-tests |
|
The solution of |
|
Ready for review, PTAL. @lzmhhh123 |
lzmhhh123
left a comment
There was a problem hiding this comment.
Do we also need to check the ineffective hints like use_index_merge and append a warning for it?
|
I think so, I will file an issue for it, like #11632 @lzmhhh123 Extract common warning message. |
|
PTAL again. Just change some warning messages. @lamxTyler |
|
/run-all-test |
|
/run-all-tests |
|
/run-ci-test |
|
/run-all-tests |
|
@foreyes merge failed. |
|
/run-unit-test |
1 similar comment
|
/run-unit-test |
What problem does this PR solve?
Support optimizer hint alias
HASH_JOIN: TIDB_HJ,SM_JOIN: TIDB_SMJ,INL_JOIN: TIDB_INLJ.Rename optimizer hints
TIDB_HASHAGG() -> HASH_AGG,TIDB_STREAMAGG() -> STREAM_AGG, and remove brackets.What is changed and how it works?
Add
HintHJ,HintSMJ,HintINLJhave the same effect asTIDBhints.We still keep TIDB style hints, for example,
TIDB_HJwill have the same HintName asHASH_JOINnow.Rename aggregation hints in parser and TiDB.
Check List
Tests
Code changes
Related changes