Closed ti-chi-bot closed 1 year ago
[REVIEW NOTIFICATION]
This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer
in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer
in the comment to help you merge this pull request.
The full list of commands accepted by this bot can be found here.
/run-all-tests
/run-all-tests
/run-all-tests
/merge
@shiyuhang0: /merge
in this pull request requires 2 approval(s).
/merge
This pull request has been accepted and is ready to merge.
This is an automated cherry-pick of #2639
What problem does this PR solve?
close #2638
What is changed and how it works?
Fix the output of explain: TiSpark no more throw
NoSuchElementException
when there is no partition after partition prune.Fix the part of the bug that no partitions will be selected in the range column partition table.
TiSpark will contain
''
when generates partition exprs. For example, if your DDL isPARTITION p1 VALUES LESS THAN ('CN001')
, you will get something like${column_name} less than "'CN001'"
. Then, your filter can not match the partition exprs.After Fix, TiSpark will convert