You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rui Li (Jira)" <ji...@apache.org> on 2020/03/20 06:39:00 UTC
[jira] [Commented] (FLINK-16688) Hive-connector should set
SessionState for hive
[ https://issues.apache.org/jira/browse/FLINK-16688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17063120#comment-17063120 ]
Rui Li commented on FLINK-16688:
--------------------------------
The root cause is the same as FLINK-16618.
{{SessionState}} should be associated with a session. We shouldn't create {{SessionState}} instance for each task, otherwise {{current_timestamp()}} can return different values in each task. We probably can't directly use these functions.
> 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)