flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hequn8128 <...@git.apache.org>
Subject [GitHub] flink pull request #6282: [FLINK-6847][FLINK-6813][Table Api & Sql] Timestam...
Date Sun, 22 Jul 2018 07:40:38 GMT
Github user hequn8128 commented on a diff in the pull request:

    https://github.com/apache/flink/pull/6282#discussion_r204230534
  
    --- Diff: docs/dev/table/tableApi.md ---
    @@ -4490,6 +4490,16 @@ dateFormat(TIMESTAMP, STRING)
           </td>
         </tr>
     
    +    <tr>
    +      <td>
    +        {% highlight text %}
    +timestampDiff(unit, timestamp1, timestamp2)
    --- End diff --
    
    timestampDiff(unit, timestamp1, timestamp2) => timestampDiff(TimeIntervalUnit, datetime1,
datetime2)
    TIMESTAMP is different from DATETIME. The supported range of DATETIME is '1000-01-01 00:00:00'
to '9999-12-31 23:59:59', while TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to '2038-01-19
03:14:07' UTC


---

Mime
View raw message