[jira] [Commented] (HIVE-12028) An empty array is of type Array and incompatible with other array types

2015-10-14 Thread Furcy Pin (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-12028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14956499#comment-14956499 ] Furcy Pin commented on HIVE-12028: -- Exactly, it's the same as "cast(null as int)". Only shorter and

[jira] [Commented] (HIVE-12028) An empty array is of type Array and incompatible with other array types

2015-10-12 Thread Furcy Pin (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-12028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14952901#comment-14952901 ] Furcy Pin commented on HIVE-12028: -- I found a simpler workaround : SELECT collect_set(INT(NULL)) ; This

[jira] [Commented] (HIVE-12028) An empty array is of type Array and incompatible with other array types

2015-10-12 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/HIVE-12028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14953484#comment-14953484 ] Xuefu Zhang commented on HIVE-12028: Just for my understanding, what does "INT(NULL)" mean in this