[ 
https://issues.apache.org/jira/browse/FLINK-17878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114499#comment-17114499
 ] 

xiaogang zhou commented on FLINK-17878:
---------------------------------------

[~lzljs3620320] Hi Jingsong, thx for the advice, I have created another PR for 
release-1.11

[~jark] Hi Jark, thx for the advice, when we use the process time mode , the 
watermark will not be overwritten. And when I tried to work on this issue, I 
didnt remove the transient, I init the value in initializeState.

> Transient watermark attribute should be initial at runtime in streaming file 
> operators
> --------------------------------------------------------------------------------------
>
>                 Key: FLINK-17878
>                 URL: https://issues.apache.org/jira/browse/FLINK-17878
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / FileSystem
>    Affects Versions: 1.11.0
>            Reporter: xiaogang zhou
>            Assignee: xiaogang zhou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>
> StreamingFileWriter has a 
> private transient long currentWatermark = Long.MIN_VALUE;
>  
> in case developer wants to create a custom bucket assigner, it will receive a 
> currentWatermark as 0, this might be conflict with the original flink 
> approach to handle a min_long.
>  
> should we remove the transient key word?
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to