zentol commented on issue #6466: [FLINK-10005][DataStream API] 
StreamingFileSink: sets initialPartCounter=maxUsed in new Buckets
URL: https://github.com/apache/flink/pull/6466#issuecomment-409468434
 
 
   no.
   
   instead of 
   ```
   if (info != null && rollingPolicy.shouldRollOnProcessingTime(info, 
timestamp)) {
                                bucket.closePartFile();
   }
   ```
   do
   ```
   if (info != null && rollingPolicy.shouldRollOnProcessingTime(info, 
timestamp)) {
                                bucket.rollPartFile(timestamp);
   }
   ```

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