JingsongLi commented on a change in pull request #11796:
URL: https://github.com/apache/flink/pull/11796#discussion_r415198112



##########
File path: 
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/filesystem/PartitionPathUtils.java
##########
@@ -88,7 +88,9 @@ public static String 
generatePartitionPath(LinkedHashMap<String, String> partiti
                        suffixBuf.append(escapePathName(e.getValue()));
                        i++;
                }
-               suffixBuf.append(Path.SEPARATOR);
+               if (partitionSpec.size() > 0) {

Review comment:
       Good catch.
   ```
   if (partitionSpec.isEmpty()) {
     return "";
   }
   ```




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

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


Reply via email to