hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongzhi Chen (JIRA)" <>
Subject [jira] [Created] (HIVE-14519) Multi insert query bug
Date Thu, 11 Aug 2016 17:29:20 GMT
Yongzhi Chen created HIVE-14519:

             Summary: Multi insert query bug
                 Key: HIVE-14519
             Project: Hive
          Issue Type: Bug
          Components: Logical Optimizer
            Reporter: Yongzhi Chen
            Assignee: Yongzhi Chen

When running multi-insert queries, when one of the query is not returning results, the other
query is not returning the right result.
For example:
After following query, there is no value in /tmp/emp/dir3/000000_0
>From (select * from src) a
insert overwrite directory '/tmp/emp/dir1/'
select key, value
insert overwrite directory '/tmp/emp/dir2/'
select 'header'
where 1=2
insert overwrite directory '/tmp/emp/dir3/'
select key, value 
where key = 100;

where clause in the second insert should not affect the third insert. 

This message was sent by Atlassian JIRA

View raw message