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

Implement 'ALTER … FREEZE' command #3514

Merged
merged 15 commits into from
Nov 21, 2018

Conversation

abyss7
Copy link
Contributor

@abyss7 abyss7 commented Nov 1, 2018

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

@ztlpn ztlpn self-assigned this Nov 6, 2018
dbms/src/Storages/StorageMergeTree.cpp Outdated Show resolved Hide resolved
dbms/src/Storages/AlterCommands.h Outdated Show resolved Hide resolved
@alexey-milovidov alexey-milovidov merged commit 5038f13 into ClickHouse:master Nov 21, 2018
*/
virtual void freezePartition(const ASTPtr & /*partition*/, const String & /*with_name*/, const Context & /*context*/)
virtual void partition(const ASTPtr & /* query */, const PartitionCommands & /* commands */, const Context & /* context */)
Copy link
Contributor

Choose a reason for hiding this comment

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

Good idea, but I'd call this method alterPartition instead (it doesn't partition anything, it alters partitions).

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.

3 participants