[ https://issues.apache.org/jira/browse/FLINK-10005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16564836#comment-16564836 ]
ASF GitHub Bot commented on FLINK-10005: ---------------------------------------- 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: us...@infra.apache.org > StreamingFileSink ignores checkpoint/processing time rolling policies > --------------------------------------------------------------------- > > Key: FLINK-10005 > URL: https://issues.apache.org/jira/browse/FLINK-10005 > Project: Flink > Issue Type: Bug > Components: Streaming Connectors > Affects Versions: 1.6.0 > Reporter: Chesnay Schepler > Assignee: Kostas Kloudas > Priority: Blocker > Labels: pull-request-available > Fix For: 1.6.0 > > > The {{StreamingFileSink}} supports different policies to determine whether a > new part file should be created; on each checkpoint, once a certain size is > reached or on processing time. > This feature only works correctly for size thresholds, other policies are > ignored. -- This message was sent by Atlassian JIRA (v7.6.3#76005)