You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "luoyuxia (Jira)" <ji...@apache.org> on 2022/07/05 02:05:00 UTC
[jira] [Updated] (FLINK-23995) Hive dialect: `insert overwrite table partition if not exists` will throw exception when tablename is like 'database.table'
[ https://issues.apache.org/jira/browse/FLINK-23995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
luoyuxia updated FLINK-23995:
-----------------------------
Parent: FLINK-26360
Issue Type: Sub-task (was: Bug)
> Hive dialect: `insert overwrite table partition if not exists` will throw exception when tablename is like 'database.table'
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-23995
> URL: https://issues.apache.org/jira/browse/FLINK-23995
> Project: Flink
> Issue Type: Sub-task
> Components: Connectors / Hive
> Reporter: luoyuxia
> Assignee: luoyuxia
> Priority: Major
> Labels: pull-request-available, stale-assigned
> Fix For: 1.16.0
>
>
> when run such hive sql
>
> {code:java}
> insert overwrite table default.dest2 partition (p1=1,p2='static') if not exists select x from src
> {code}
> it will throw exception
> {code:java}
> Caused by: org.apache.hadoop.hive.ql.metadata.InvalidTableException: Table not found default{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)