Skip to content

Commit

Permalink
[improve] allow migrate to existing database
Browse files Browse the repository at this point in the history
  • Loading branch information
LsomeYeah committed Dec 13, 2024
1 parent 98a4ec3 commit 6f2fef8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void executeMigrate() throws Exception {
Schema paimonSchema = icebergSchemaToPaimonSchema(icebergMetadata);
Identifier paimonIdentifier = Identifier.create(paimonDatabaseName, paimonTableName);

paimonCatalog.createDatabase(paimonDatabaseName, false);
paimonCatalog.createDatabase(paimonDatabaseName, true);
paimonCatalog.createTable(paimonIdentifier, paimonSchema, false);

try {
Expand Down

0 comments on commit 6f2fef8

Please sign in to comment.