[jira] [Created] (FLINK-14421) Add 'L' when define a long value

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

[jira] [Created] (FLINK-14421) Add 'L' when define a long value

Shang Yuanchun (Jira)
hailong wang created FLINK-14421:
------------------------------------

             Summary: Add 'L' when define a long value
                 Key: FLINK-14421
                 URL: https://issues.apache.org/jira/browse/FLINK-14421
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / API
    Affects Versions: 1.9.0
            Reporter: hailong wang
             Fix For: 1.10.0


In SqlDateTimeUtils、DateTimeUtils and ApiExpressionUtils,

MILLIS_PER_DAY field is defined as follow:
{code:java}
public static final long MILLIS_PER_DAY = 86400000;
{code}
We should change it to 86400000L and to be consistent with other fields



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