osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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