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


##########
fe/fe-core/src/main/java/org/apache/doris/planner/external/FileQueryScanNode.java:
##########
@@ -414,7 +415,12 @@ private TFileRangeDesc createFileRangeDesc(FileSplit 
fileSplit, List<String> col
 
         rangeDesc.setFileType(locationType);
         if (locationType == TFileType.FILE_HDFS) {
-            rangeDesc.setPath(fileSplit.getPath().toUri().getPath());
+            URI fileUri = fileSplit.getPath().toUri();
+            if 
(FeConstants.FS_PREFIX_COSN.equalsIgnoreCase(fileUri.getScheme())) {
+                rangeDesc.setPath(fileSplit.getPath().toString());

Review Comment:
   What is the difference? Add comment



##########
fe/fe-core/src/main/java/org/apache/doris/planner/external/HiveScanNode.java:
##########
@@ -330,7 +330,7 @@ public TFileFormatType getFileFormatType() throws 
UserException {
 
     @Override
     protected Map<String, String> getLocationProperties() throws UserException 
 {
-        return hmsTable.getCatalogProperties();
+        return hmsTable.getHadoopProperties();

Review Comment:
   Why only need Hadoop properties?



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to