[jira] [Commented] (HIVE-11827) STORED AS AVRO fails SELECT COUNT(*) when empty

2015-09-23 Thread Yongzhi Chen (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-11827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14905118#comment-14905118 ] Yongzhi Chen commented on HIVE-11827: - Thanks [~xuefuz] for reviewing the patch. > STORED AS AVRO

[jira] [Commented] (HIVE-11827) STORED AS AVRO fails SELECT COUNT(*) when empty

2015-09-22 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-11827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14902660#comment-14902660 ] Xuefu Zhang commented on HIVE-11827: +1 > STORED AS AVRO fails SELECT COUNT(*) when empty >

[jira] [Commented] (HIVE-11827) STORED AS AVRO fails SELECT COUNT(*) when empty

2015-09-19 Thread Hive QA (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-11827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14876939#comment-14876939 ] Hive QA commented on HIVE-11827: {color:red}Overall{color}: -1 at least one tests failed Here are the

[jira] [Commented] (HIVE-11827) STORED AS AVRO fails SELECT COUNT(*) when empty

2015-09-18 Thread Yongzhi Chen (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-11827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14876775#comment-14876775 ] Yongzhi Chen commented on HIVE-11827: - [~xuefuz], I attach patch 2 to include the insert data and

[jira] [Commented] (HIVE-11827) STORED AS AVRO fails SELECT COUNT(*) when empty

2015-09-18 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-11827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14876251#comment-14876251 ] Xuefu Zhang commented on HIVE-11827: Okay. Could you add a test or modify your existing test case to

[jira] [Commented] (HIVE-11827) STORED AS AVRO fails SELECT COUNT(*) when empty

2015-09-18 Thread Yongzhi Chen (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-11827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14876245#comment-14876245 ] Yongzhi Chen commented on HIVE-11827: - [~xuefuz], as in the AvroSerDe.initialize, we can

[jira] [Commented] (HIVE-11827) STORED AS AVRO fails SELECT COUNT(*) when empty

2015-09-18 Thread Yongzhi Chen (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-11827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14875646#comment-14875646 ] Yongzhi Chen commented on HIVE-11827: - schema info can be determined by column info if literal or url

[jira] [Commented] (HIVE-11827) STORED AS AVRO fails SELECT COUNT(*) when empty

2015-09-18 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-11827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14875856#comment-14875856 ] Xuefu Zhang commented on HIVE-11827: My understanding is that for AVRO, schema must be provided via