[
https://issues.apache.org/jira/browse/FLINK-23857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17410952#comment-17410952
]
Rui Li commented on FLINK-23857:
--------------------------------
OK, I tried with an empty source table w/o the {{1 != 1}} filter, and hive
doesn't clear the partition data in that case. Maybe there's some inconsistency
in hive. I guess it's more intuitive to clear the data since user intends to do
{{OVERWRITE}}. And therefore I prefer not to make a difference on this between
hive and default dialect.
> insert overwirite table select * from t where 1 != 1, Unable to clear table
> data
> --------------------------------------------------------------------------------
>
> Key: FLINK-23857
> URL: https://issues.apache.org/jira/browse/FLINK-23857
> Project: Flink
> Issue Type: Bug
> Components: Connectors / FileSystem, Connectors / Hive
> Affects Versions: 1.13.1
> Reporter: lixu
> Assignee: Rui Li
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.14.0, 1.15.0
>
> Attachments: 7F086A05-FE73-47F2-BA6C-95371E89116C.png
>
>
> insert overwirite table select * from t where 1 != 1,Unable to clear table
> data,Unlike hive。
--
This message was sent by Atlassian Jira
(v8.3.4#803005)