Skip to content

Commit 1ffbfdb

Browse files
committed
fix
1 parent daaca52 commit 1ffbfdb

File tree

1 file changed

+2
-1
lines changed
  • paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/migrate

1 file changed

+2
-1
lines changed

paimon-hive/paimon-hive-catalog/src/main/java/org/apache/paimon/hive/migrate/HiveMigrator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ public void deleteOriginTable(boolean deleteOriginTable) {
136136
@Override
137137
public void executeMigrate() throws Exception {
138138
if (!client.tableExists(sourceDatabase, sourceTable)) {
139-
throw new RuntimeException("Source hive table does not exist");
139+
throw new RuntimeException(
140+
String.format("Source hive table %s does not exist", sourceTable));
140141
}
141142

142143
Table sourceHiveTable = client.getTable(sourceDatabase, sourceTable);

0 commit comments

Comments
 (0)