-
Notifications
You must be signed in to change notification settings - Fork 993
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
[doc] Add doc for adding partitions #4374
Conversation
+1 |
docs/content/flink/sql-alter.md
Outdated
|
||
The following SQL adds the partitions of the paimon table. | ||
|
||
For flink sql, you can specify the partial columns of partition columns, and you can also specify multiple partition values at the same time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note here, only with metastore configured
docs/content/spark/sql-alter.md
Outdated
@@ -119,6 +119,14 @@ The following SQL drops the partitions of the paimon table. For spark sql, you n | |||
ALTER TABLE my_table DROP PARTITION (`id` = 1, `name` = 'paimon'); | |||
``` | |||
|
|||
## Adding Partitions | |||
|
|||
The following SQL adds the partitions of the paimon table. For spark sql, you need to specify all the partition columns. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note here, only with metastore configured
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @JingsongLi had change it as:"The following SQL adds the partitions of the paimon table. For spark sql, you need to specify all the partition columns, only with metastore configured metastore.partitioned-table=true"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Purpose
Linked issue: close #xxx
add doc for add partition.
Tests
API and Format
Documentation