This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new d7b4f102d [doc] Document Sync Partitions into Hive Metastore in Spark
DDL
d7b4f102d is described below
commit d7b4f102d4c91c25aa7f43af1e05043f894949c4
Author: Jingsong <[email protected]>
AuthorDate: Wed Aug 14 11:44:52 2024 +0800
[doc] Document Sync Partitions into Hive Metastore in Spark DDL
---
docs/content/spark/sql-ddl.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/content/spark/sql-ddl.md b/docs/content/spark/sql-ddl.md
index 6900ea1b6..fa82b467d 100644
--- a/docs/content/spark/sql-ddl.md
+++ b/docs/content/spark/sql-ddl.md
@@ -84,6 +84,12 @@ USE paimon.default;
Also, you can create [SparkGenericCatalog]({{< ref "spark/quick-start" >}}).
+#### Synchronizing Partitions into Hive Metastore
+
+By default, Paimon does not synchronize newly created partitions into Hive
metastore. Users will see an unpartitioned table in Hive. Partition push-down
will be carried out by filter push-down instead.
+
+If you want to see a partitioned table in Hive and also synchronize newly
created partitions into Hive metastore, please set the table property
`metastore.partitioned-table` to true. Also see [CoreOptions]({{< ref
"maintenance/configurations#CoreOptions" >}}).
+
### Creating JDBC Catalog
By using the Paimon JDBC catalog, changes to the catalog will be directly
stored in relational databases such as SQLite, MySQL, postgres, etc.