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

Add system.detached_parts table. #5353

Merged
merged 2 commits into from
May 25, 2019
Merged

Conversation

akuzm
Copy link
Contributor

@akuzm akuzm commented May 20, 2019

#5164

For changelog. Remove if this is non-significant change.
Added system.detached_parts table containing information about detached parts of MergeTree tables.

Category (leave one):

  • New Feature

it != Poco::DirectoryIterator(); ++it)
{
res.resize(res.size() + 1);
auto & part = res.back();
Copy link
Member

Choose a reason for hiding this comment

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

BTW, it's pre-C++11 pattern. Now it's better to create an object and move it into vector (if the move is not expensive).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll use emplace_back if you don't mind, not to write push_back in four places.

@akuzm akuzm force-pushed the aku/detached-parts-5164 branch from 5fa5507 to 43655a8 Compare May 21, 2019 12:11
@alexey-milovidov alexey-milovidov merged commit cb89e50 into master May 25, 2019
@akuzm akuzm added the pr-feature Pull request with new product feature label May 28, 2019
@akuzm akuzm deleted the aku/detached-parts-5164 branch December 9, 2019 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature Pull request with new product feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants