You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/30 10:18:00 UTC
[jira] [Updated] (FLINK-27376) Hive dialect supports "select current_database()"
[ https://issues.apache.org/jira/browse/FLINK-27376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-27376:
-----------------------------------
Labels: pull-request-available (was: )
> Hive dialect supports "select current_database()"
> -------------------------------------------------
>
> Key: FLINK-27376
> URL: https://issues.apache.org/jira/browse/FLINK-27376
> Project: Flink
> Issue Type: Sub-task
> Reporter: luoyuxia
> Priority: Major
> Labels: pull-request-available
>
> Hive supports select current database using the following sql:
> {code:java}
> select current_database() {code}
> It'll involve Hive's 'GenericUDFCurrentDatabase'in run time, in this udf, it will try to call '
> SessionState.get().getCurrentDatabase()', but we has closed the SessionState before excuting.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)