You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/07/17 17:00:00 UTC

[jira] [Created] (FLINK-9880) Incorrect argument order calling BucketerContext#update

Ted Yu created FLINK-9880:
-----------------------------

             Summary: Incorrect argument order calling BucketerContext#update
                 Key: FLINK-9880
                 URL: https://issues.apache.org/jira/browse/FLINK-9880
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu


In StreamingFileSink.java :
{code}
    bucketerContext.update(context.timestamp(), currentProcessingTime, context.currentWatermark());
{code}
However, the method update is declared as :
{code}
    void update(@Nullable Long elementTimestamp, long currentWatermark, long currentProcessingTime) {
{code}
The second and third parameters seem to be swapped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)