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

hailong wang commented on FLINK-19861:
--------------------------------------

I prefer to improve as follow,
{code:java}
</td>
 <td>
 <p>Returns the current SQL timestamp in the UTC time zone. This function is 
not deterministic which means it would be calculated for each record.</p>
 <p>Only supported in blink planner.</p>
 <p><b>Note:</b> <code>NOW()</code> is deterministic in SQL standard and 
remains constant throughout life cycle of the job. The value is the start time 
of the job.</p>
 </td>
 </tr>
{code}

WDYT [~jark]

> Improve the document of now() function
> --------------------------------------
>
>                 Key: FLINK-19861
>                 URL: https://issues.apache.org/jira/browse/FLINK-19861
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation, Table SQL / API
>    Affects Versions: 1.11.0
>            Reporter: hailong wang
>            Priority: Minor
>             Fix For: 1.12.0
>
>
> `NOW()` function is deterministic in SQL standard, but not deterministic in 
> Flink SQL.
>  We should Improve the description of `NOW()` in 
> /dev/table/functions/systemFunctions.md.
> See the email thread, 
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/How-to-understand-NOW-in-SQL-when-using-Table-amp-SQL-API-to-develop-a-streaming-app-tc38881.html#none



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

Reply via email to