mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Update partition.md
This commit is contained in:
parent
1cf17a0454
commit
577978026a
@ -108,7 +108,8 @@ Note that data will be deleted neither from `table1` nor from `table2`.
|
||||
For the query to run successfully, the following conditions must be met:
|
||||
|
||||
- Both tables must have the same structure.
|
||||
- Both tables must have the same partition key.
|
||||
- Both tables must have the same partition key, the same order by key and the same primary key.
|
||||
- Both tables must have the same storage policy (a disk where the partition is stored should be available for both tables).
|
||||
|
||||
## REPLACE PARTITION
|
||||
|
||||
@ -121,7 +122,8 @@ This query copies the data partition from the `table1` to `table2` and replaces
|
||||
For the query to run successfully, the following conditions must be met:
|
||||
|
||||
- Both tables must have the same structure.
|
||||
- Both tables must have the same partition key.
|
||||
- Both tables must have the same partition key, the same order by key and the same primary key.
|
||||
- Both tables must have the same storage policy (a disk where the partition is stored should be available for both tables).
|
||||
|
||||
## MOVE PARTITION TO TABLE
|
||||
|
||||
@ -134,9 +136,9 @@ This query moves the data partition from the `table_source` to `table_dest` with
|
||||
For the query to run successfully, the following conditions must be met:
|
||||
|
||||
- Both tables must have the same structure.
|
||||
- Both tables must have the same partition key.
|
||||
- Both tables must have the same partition key, the same order by key and the same primary key.
|
||||
- Both tables must have the same storage policy (a disk where the partition is stored should be available for both tables).
|
||||
- Both tables must be the same engine family (replicated or non-replicated).
|
||||
- Both tables must have the same storage policy.
|
||||
|
||||
## CLEAR COLUMN IN PARTITION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user