morningman commented on code in PR #60018:
URL: https://github.com/apache/doris/pull/60018#discussion_r2706768251


##########
fe/fe-core/src/main/java/org/apache/doris/planner/HiveTableSink.java:
##########
@@ -168,7 +169,14 @@ public void bindDataSink(Optional<InsertCommandContext> 
insertCtx)
 
     private String createTempPath(String location) {
         String user = ConnectContext.get().getCurrentUserIdentity().getUser();
-        return LocationPath.getTempWritePath(location, "/tmp/.doris_staging/" 
+ user);
+        String defaultStagingBaseDir = ".doris_staging";
+        String stagingBaseDir = targetTable.getCatalog().getCatalogProperty()

Review Comment:
   i think we should only support `/tmp/.staging` or relative dir?



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to