Skip to content
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

[FLASH-524] Optimize tmt read for single stream #254

Merged
merged 2 commits into from
Sep 26, 2019
Merged

[FLASH-524] Optimize tmt read for single stream #254

merged 2 commits into from
Sep 26, 2019

Conversation

solotzg
Copy link
Contributor

@solotzg solotzg commented Sep 26, 2019

No description provided.

@solotzg solotzg requested a review from innerr September 26, 2019 06:13
@solotzg
Copy link
Contributor Author

solotzg commented Sep 26, 2019

/run-integration-tests

static const __m128i zero16 = _mm_setzero_si128();
#endif

// pos in columns is made const in MergeTreeDataSelectExecutor::read.
Copy link
Contributor

@innerr innerr Sep 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No guarantee of the columns‘s order, getting indexes dynamically is necessary

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@innerr innerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please invite another reviewer into this PR

@solotzg
Copy link
Contributor Author

solotzg commented Sep 26, 2019

/rebuild

@solotzg
Copy link
Contributor Author

solotzg commented Sep 26, 2019

/rebuild

@solotzg
Copy link
Contributor Author

solotzg commented Sep 26, 2019

TMT is sorted by pk, version, delmark. If there is only one stream, for each group with same pk, we can just select the last one.

@solotzg
Copy link
Contributor Author

solotzg commented Sep 26, 2019

/rebuild

1 similar comment
@zyguan
Copy link
Contributor

zyguan commented Sep 26, 2019

/rebuild

@solotzg
Copy link
Contributor Author

solotzg commented Sep 26, 2019

/run-integration-tests

@solotzg
Copy link
Contributor Author

solotzg commented Sep 26, 2019

/run-integration-tests

@solotzg solotzg merged commit dfec883 into pingcap:master Sep 26, 2019
@solotzg solotzg deleted the FLASH-524 branch September 26, 2019 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants