You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2018/04/03 19:22:00 UTC

[jira] [Commented] (HIVE-16842) insert overwrite with select does not remove data when the select query returns empty resultset

    [ https://issues.apache.org/jira/browse/HIVE-16842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16424474#comment-16424474 ] 

Vineet Garg commented on HIVE-16842:
------------------------------------

Removing fix version to defer this to next release.

> insert overwrite with select does not remove data when the select query returns empty resultset
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-16842
>                 URL: https://issues.apache.org/jira/browse/HIVE-16842
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 3.0.0
>            Reporter: anishek
>            Priority: Major
>
> {code}create table address (city string);
> insert into address values ('b');
> create table empty_insert (city string);
> insert into empty_insert values ('a');
> insert overwrite table empty_insert select city from address where city='g';
> {code}
> empty_insert still contains 'a'; # should be nothing 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)