-
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
fix columns_to_read
contains _tidb_rowid
#7283
Conversation
Signed-off-by: Lloyd-Pottiger <[email protected]>
[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 The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/run-integration-test |
1 similar comment
/run-integration-test |
handle.name = EXTRA_HANDLE_COLUMN_NAME; | ||
table_scan_column_info.push_back(handle); | ||
continue; | ||
} | ||
auto iter = std::find_if( |
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.
Better show the col.id
and col.name
in L783 in case similar problem happen again
tiflash/dbms/src/Storages/StorageDeltaMerge.cpp
Lines 779 to 783 in 405102e
auto iter = std::find_if( | |
table_infos.begin(), | |
table_infos.end(), | |
[col](const ColumnInfo & c) -> bool { return c.id == col.id; }); | |
RUNTIME_CHECK(iter != table_infos.end()); |
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.
And also L761
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.
Better show the
col.id
andcol.name
in L783 in case similar problem happen again
done
And also L761
columns_to_read
will contain extre column, so there is no need to check in L761
Signed-off-by: Lloyd-Pottiger <[email protected]>
Signed-off-by: Lloyd-Pottiger <[email protected]>
Signed-off-by: Lloyd-Pottiger <[email protected]>
/run-integration-test |
auto column_index = decodeDAGInt64(expr.val()); | ||
if (column_index < 0 || column_index >= static_cast<Int64>(input_col.size())) | ||
{ | ||
throw TiFlashException("Column index out of bound", Errors::Coprocessor::BadRequest); |
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.
show the expr.ShortDebugString()
and input_col.size()
when error happen
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 with a comment
Signed-off-by: Lloyd-Pottiger <[email protected]>
/merge |
@Lloyd-Pottiger: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: e5421b5
|
/run-integration-test |
1 similar comment
/run-integration-test |
What problem does this PR solve?
Issue Number: ref #5829
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note