You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "hailong wang (Jira)" <ji...@apache.org> on 2019/10/16 15:51:00 UTC

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

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)