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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)