-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
*: add the error check #8770
*: add the error check #8770
Conversation
@@ -1083,6 +1083,9 @@ func (e *MaxOneRowExec) Next(ctx context.Context, chk *chunk.Chunk) error { | |||
|
|||
childChunk := e.children[0].newFirstChunk() | |||
err = e.children[0].Next(ctx, childChunk) | |||
if err != nil { | |||
return errors.Trace(err) | |||
} |
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.
So that was an ignored error. A good demonstration of using the error check.
3 ignored errors! Thanks, LGTM, would love to have this running in the CI. |
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
/run-all-tests |
@zimulala We need to cherry-pick this to the release branches. |
What problem does this PR solve?
Add the error check
What is changed and how it works?
Return the error
Check the error information
Check List
Tests
Code changes
Side effects
Related changes
This change is