diff --git a/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/HiveWriteITCase.java b/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/HiveWriteITCase.java index 57486ec30be9..c99eb9cd1f46 100644 --- a/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/HiveWriteITCase.java +++ b/paimon-hive/paimon-hive-connector-common/src/test/java/org/apache/paimon/hive/HiveWriteITCase.java @@ -157,7 +157,7 @@ private String writeData(Table table, String path, List data) throw write.close(); commit.close(); - String tableName = "test_table_" + (UUID.randomUUID().toString().substring(0, 4)); + String tableName = "test_table_" + UUID.randomUUID().toString().replace('-', '_'); hiveShell.execute( String.join( "\n",