From 27eada13874a1de100ea09838a1d0b7eabdc91fc Mon Sep 17 00:00:00 2001 From: leichangqing <36058877+leichangqing@users.noreply.github.com> Date: Wed, 20 Sep 2023 16:59:58 +0800 Subject: [PATCH] [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 7b4a16a49098..230323888c76 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,