JingsongLi commented on code in PR #2494:
URL: https://github.com/apache/incubator-paimon/pull/2494#discussion_r1432362919


##########
paimon-core/src/main/java/org/apache/paimon/catalog/AbstractCatalog.java:
##########
@@ -326,7 +337,7 @@ protected abstract TableSchema 
getDataTableSchema(Identifier identifier)
 
     @VisibleForTesting
     public Path getDataTableLocation(Identifier identifier) {
-        return newTableLocation(warehouse(), identifier);
+        return newTableLocation(newDatabasePath(identifier.getDatabaseName()), 
identifier);

Review Comment:
   I'm a bit confused about how much code we need to modify. Should we just 
handle it directly here.
   
   Just: `new Path(databasePath, tableName)` here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to