Matrix42 commented on a change in pull request #7287: [FLINK-11140][streaming] 
Fix empty child path check in Buckets
URL: https://github.com/apache/flink/pull/7287#discussion_r240936910
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/sink/filesystem/Buckets.java
 ##########
 @@ -304,6 +304,10 @@ void close() {
        }
 
        private Path assembleBucketPath(BucketID bucketId) {
+               String child = bucketId.toString();
+               if ("".equals(child)) {
+                       return basePath;
+               }
                return new Path(basePath, bucketId.toString());
 
 Review comment:
   @yanghua thanks for your review, i will fix this

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to