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

Rui Li commented on FLINK-16688:
--------------------------------

[~lzljs3620320] Yes that's a viable option. And functions like 
{{current_timestamp}} should be treated as a constant value rather than an 
ordinary function. And the value should be decided at CLI/gateway side. We 
might need to extend {{HiveGenericUDF}} or {{HiveFunctionWrapper}} to achieve 
this purpose.

> Hive-connector should set SessionState for hive
> -----------------------------------------------
>
>                 Key: FLINK-16688
>                 URL: https://issues.apache.org/jira/browse/FLINK-16688
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive
>    Affects Versions: 1.10.0
>            Reporter: Jingsong Lee
>            Priority: Major
>             Fix For: 1.10.1, 1.11.0
>
>
> Without SessionState like GenericUDFUnixTimeStamp can not be used.



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

Reply via email to