-
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
storage: Introduce AddExtraTableIDColumnTransformOp #7545
Conversation
Signed-off-by: Wish <[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. |
Signed-off-by: Wish <[email protected]>
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
/rebuild |
/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.
Others LGTM
} | ||
} | ||
if (!enable_read_thread) |
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.
Maybe
if (enable_read_thread)
{
for (size_t i = 0; i < final_num_stream; ++i)
{
group_builder.addConcurrency(
std::make_unique<UnorderedSourceOp>(
exec_status,
read_task_pool,
columns_to_read,
extra_table_id_index,
log_tracing_id));
}
}
else
{
for (size_t i = 0; i < final_num_stream; ++i)
{
group_builder.addConcurrency(std::make_unique<DMSegmentThreadSourceOp>(
exec_status,
dm_context,
read_task_pool,
after_segment_read,
columns_to_read,
filter,
max_version,
expected_block_size,
/* read_mode = */ is_fast_scan ? ReadMode::Fast : ReadMode::Normal,
log_tracing_id));
}
group_builder.transform([&](auto & builder) {
builder.appendTransformOp(std::make_unique<AddExtraTableIDColumnTransformOp>(
exec_status,
log_tracing_id,
columns_to_read,
extra_table_id_index,
physical_table_id));
});
}
is better?
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.
Updated, PTAL again, thanks!
Signed-off-by: Wish <[email protected]>
/run-all-tests |
/merge |
@breezewish: 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: a4cbe8e
|
@breezewish: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests
If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. 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. |
What problem does this PR solve?
Issue Number: ref #6827
Problem Summary:
What is changed and how it works?
This is the remaining task of #7493, that excluded the AddExtraTableIDColumn logic from SegmentInputStream/SegmentSourceOp.
Check List
Tests
Settings:
Query 1 (no partition):
Query 2 (partitioned):
Side effects
Documentation
Release note