[
https://issues.apache.org/jira/browse/FLINK-30030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654699#comment-17654699
]
luoyuxia commented on FLINK-30030:
----------------------------------
After some investigation, the expected behavior should consider `db.tab` as a
table named db.tab, so in this case, it should throw table not found exception.
Based on such conclusion, from Flink 1.16, the behavior is as expected which
will also throw exception after FLINK-29337.
So, I will close it.
> Unexpected behavior for overwrite in Hive dialect
> -------------------------------------------------
>
> Key: FLINK-30030
> URL: https://issues.apache.org/jira/browse/FLINK-30030
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Hive
> Affects Versions: 1.15.0
> Reporter: luoyuxia
> Priority: Major
> Labels: pull-request-available
>
> When overwrite a table in hive dialect, it might not overwrite but to append.
> It can reproduce using the following sql:
> {code:java}
> insert overwrite table `db.tab` values (1, 2) {code}
> only happen when the table is encapsulated by backquote and the table contain
> two splits with ".".
>
> Just find the behavior in hive is also incorrect as reported in HIVE-26741.
> Let'us keep to see what's the expected behavior.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)