Skip to content

Commit

Permalink
[doc] Fix code example of Alter Table in Java API (apache#2043)
Browse files Browse the repository at this point in the history
  • Loading branch information
leichangqing authored Sep 20, 2023
1 parent e713d72 commit 27eada1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/content/api/java-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 27eada1

Please sign in to comment.