selecting no rows and overwriting a table creates empty file for nonbucketized 
table
------------------------------------------------------------------------------------

                 Key: HIVE-2352
                 URL: https://issues.apache.org/jira/browse/HIVE-2352
             Project: Hive
          Issue Type: Bug
            Reporter: Franklin Hu
            Assignee: Franklin Hu
            Priority: Minor
         Attachments: hive-2352.1.patch

create table t1 (key int, value string) stored as rcfile;
insert overwrite table t1 select * from src where false;

Creates an empty RCFile with no rows and size 151B. The file not should be 
created since there are no rows.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to