mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
Fix style
This commit is contained in:
parent
69300e5f98
commit
663ca03d6f
@ -115,7 +115,7 @@ public:
|
||||
/// MOVE PARTITION partition TO db.table
|
||||
String to_database;
|
||||
String to_table;
|
||||
|
||||
|
||||
String getID(char delim) const override { return "AlterCommand" + (delim + std::to_string(static_cast<int>(type))); }
|
||||
|
||||
ASTPtr clone() const override;
|
||||
|
@ -47,7 +47,7 @@ struct PartitionCommand
|
||||
/// For MOVE PARTITION
|
||||
String to_database;
|
||||
String to_table;
|
||||
|
||||
|
||||
/// For FETCH PARTITION - path in ZK to the shard, from which to download the partition.
|
||||
String from_zookeeper_path;
|
||||
|
||||
|
@ -1186,7 +1186,7 @@ void StorageMergeTree::movePartitionTo(const StoragePtr & dest_table, const ASTP
|
||||
return;
|
||||
|
||||
MergeTreePartInfo drop_range;
|
||||
|
||||
|
||||
drop_range.partition_id = partition_id;
|
||||
drop_range.min_block = 0;
|
||||
drop_range.max_block = increment.get(); // there will be a "hole" in block numbers
|
||||
|
Loading…
Reference in New Issue
Block a user