-
Notifications
You must be signed in to change notification settings - Fork 411
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
check block schema in exchange operator #1506
Conversation
Co-authored-by: tison <[email protected]>
/run-all-tests |
/run-all-tests |
@@ -43,10 +67,13 @@ void writeData(const IDataType & type, const ColumnPtr & column, WriteBuffer & o | |||
|
|||
void CHBlockChunkCodecStream::encode(const Block & block, size_t start, size_t end) | |||
{ | |||
/// only check block schema in CHBlock codec because for both | |||
/// Default codec and Arrow codec, it add implicit convert to | |||
/// convert the input to the target output types. |
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.
clear comments pls.
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.
after fix the comments, rest LGTM
/run-all-tests |
1 similar comment
/run-all-tests |
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 |
What problem does this PR solve?
Issue Number: close #1500
Problem Summary:
The DAG request from TiDB sometimes has wrong field type, it will cause some unexpected problems (i.e. #1492, #1464)
What is changed and how it works?
Proposal: xxx
What's Changed:
How it Works:
Check block struct in exchange operator so all the schema mismatch error will throw the same error.
Related changes
pingcap/docs
/pingcap/docs-cn
:Check List
Tests
Side effects
Release note