This is an automated email from the ASF dual-hosted git repository.

nicholasjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 27eada138 [doc] Fix code example of Alter Table in Java API (#2043)
27eada138 is described below

commit 27eada13874a1de100ea09838a1d0b7eabdc91fc
Author: leichangqing <[email protected]>
AuthorDate: Wed Sep 20 16:59:58 2023 +0800

    [doc] Fix code example of Alter Table in Java API (#2043)
---
 docs/content/api/java-api.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/content/api/java-api.md b/docs/content/api/java-api.md
index 7b4a16a49..230323888 100644
--- a/docs/content/api/java-api.md
+++ b/docs/content/api/java-api.md
@@ -332,6 +332,8 @@ public class AlterTable {
         options.put("compaction.max.file-num", "40");
 
         Catalog catalog = CreateCatalog.createFilesystemCatalog();
+        catalog.createDatabase("my_db", false);
+
         try {
             catalog.createTable(
                 identifier,

Reply via email to