[
https://issues.apache.org/jira/browse/HIVE-21750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16919529#comment-16919529
]
Zoltan Haindrich commented on HIVE-21750:
-----------------------------------------
I think this was fixed by [~isuller]'s patches - HIVE-21784 and the other 2
> INSERT OVERWRITE with empty result set does not clear transactional table
> -------------------------------------------------------------------------
>
> Key: HIVE-21750
> URL: https://issues.apache.org/jira/browse/HIVE-21750
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 4.0.0
> Reporter: Todd Lipcon
> Priority: Critical
>
> The following query:
> {code}
> INSERT OVERWRITE TABLE t SELECT 1 WHERE FALSE
> {code}
> should serve to truncate a table by producing an empty base data directory.
> In fact no new base directory is created, so the table is not cleared. (at
> least with an insert_only table, I didn't test full-ACID)
> This bug does not seem to happen with non-transactional tables.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)