[ 
https://issues.apache.org/jira/browse/FLINK-6846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521187#comment-16521187
 ] 

ASF GitHub Bot commented on FLINK-6846:
---------------------------------------

Github user walterddr commented on a diff in the pull request:

    https://github.com/apache/flink/pull/6188#discussion_r197613157
  
    --- Diff: docs/dev/table/tableApi.md ---
    @@ -2804,6 +2804,17 @@ dateFormat(TIMESTAMP, STRING)
           </td>
         </tr>
     
    +    <tr>
    +      <td>
    +        {% highlight java %}
    +timestampAdd(unit, interval, timestamp)
    +{% endhighlight %}
    +      </td>
    +      <td>
    +        <p>Adds a (signed) integer interval to a timestamp. The unit for 
the interval is given by the unit argument, which should be one of the 
following values: <code>"SECOND"</code>, <code>"MINUTE"</code>, 
<code>"HOUR"</code>, <code>"DAY"</code>, <code>"WEEK"</code>, 
<code>"MONTH"</code>, <code>"QUARTER"</code>, or <code>"YEAR"</code>. E.g. 
<code>timestampAdd("WEEK", 1, '2003-01-02'.toDate)</code> leads to 
<code>2003-01-09</code>.</p>
    --- End diff --
    
    Let's make it consistent with `sql.md`, I believe there's no `"` for the 
agument values


> Add TIMESTAMPADD supported in TableAPI
> --------------------------------------
>
>                 Key: FLINK-6846
>                 URL: https://issues.apache.org/jira/browse/FLINK-6846
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API &amp; SQL
>    Affects Versions: 1.4.0
>            Reporter: sunjincheng
>            Assignee: sunjincheng
>            Priority: Major
>              Labels: pull-request-available, starter
>
> See FLINK-6811 for detail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to