Skip to content

Commit

Permalink
Update partitioned-table.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ran-huang authored Jul 6, 2023
1 parent 5c2b524 commit c65d3b6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions partitioned-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,14 +719,7 @@ You can see that the inserted record `(NULL, 'mothra')` falls into the same part

For `LIST` and `RANGE` partitioned tables, you can add and drop partitions using the `ALTER TABLE <table name> ADD PARTITION (<partition specification>)` or `ALTER TABLE <table name> DROP PARTITION <list of partitions>` statement.

<<<<<<< HEAD
For `LIST` and `RANGE` partitioned tables, `REORGANIZE PARTITION` is not yet supported.
=======
- Add partitions using the `ALTER TABLE <table name> ADD PARTITION (<partition specification>)` statement.
- Drop partitions using the `ALTER TABLE <table name> DROP PARTITION <list of partitions>` statement.
- Remove all data from specified partitions using the `ALTER TABLE <table name> TRUNCATE PARTITION <list of partitions>` statement. The logic of `TRUNCATE PARTITION` is similar to [`TRUNCATE TABLE`](/sql-statements/sql-statement-truncate.md) but it is for partitions.
- Merge, split, or make other changes to the partitions using the `ALTER TABLE <table name> REORGANIZE PARTITION <list of partitions> INTO (<new partition definitions>)` statement.
>>>>>>> bad9362ff (fix range columns examples (#14040))

For `HASH` partitioned tables, `COALESCE PARTITION` and `ADD PARTITION` are not yet supported.

Expand Down

0 comments on commit c65d3b6

Please sign in to comment.