[ https://issues.apache.org/jira/browse/HIVE-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090399#comment-13090399 ]
Siying Dong commented on HIVE-2352: ----------------------------------- I ran tests twice. Both crashed. I think it is an important patch and will improve latency of some queries (like scanning a large dataset for one or two rows) dramatically (Currently I sometimes do a "ORDER BY LIMIT BY" to speed it up if I know the data set is small). We should raise the priority. > create empty files if and only if table is bucketed and > hive.enforce.bucketing=true > ----------------------------------------------------------------------------------- > > 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 > Fix For: 0.8.0 > > Attachments: hive-2352.1.patch, hive-2352.2.patch, hive-2352.3.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