-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
*: let baseFuncDesc.typeInfer return error instead of panic #10910
Conversation
Good job! |
87eaccc
to
b69c823
Compare
Codecov Report
@@ Coverage Diff @@
## master #10910 +/- ##
=========================================
Coverage 81.359% 81.359%
=========================================
Files 419 419
Lines 90119 90119
=========================================
Hits 73320 73320
Misses 11580 11580
Partials 5219 5219 |
The explain test changed because of this line: This line should be |
Two issues need to be fixed after this commit: |
/run-all-tests |
/run-sqllogic-test-1 |
/run-sqllogic-test-1 |
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
└─IndexReader_19 8000.00 root index:StreamAgg_10 | ||
└─StreamAgg_10 8000.00 cop group by:test.t1.a, test.t1.b, funcs:firstrow(test.t1.a), firstrow(test.t1.b) | ||
└─IndexScan_17 10000.00 cop table:t1, index:a, b, range:[NULL,+inf], keep order:true, stats:pseudo | ||
TableReader_9 10000.00 root data:TableScan_8 |
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 this plan was changed?
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.
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
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
What problem does this PR solve?
Before this commit, the following sql will make tidb-server panic.
Afer this commit,
What is changed and how it works?
Let baseFuncDesc.typeInfer return error instead of panic.
Check List
Tests
Code changes
Side effects
N/A
Related changes