[
https://issues.apache.org/jira/browse/HIVE-12755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075289#comment-15075289
]
Pengcheng Xiong commented on HIVE-12755:
----------------------------------------
[~fazil.mehdi], could you please provide the version and the settings of Hive?
It seems that it is not reproducible on current master:
{code}
hive> select 'new' as col1 union all select 'new' as col2;
WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the
future versions. Consider using a different execution engine (i.e. tez, spark)
or using Hive 1.X releases.
Query ID = pxiong_20151230103022_79038bb0-119d-492d-b3b9-23156e88093f
Total jobs = 1
Launching Job 1 out of 1
Number of reduce tasks is set to 0 since there's no reduce operator
Job running in-process (local Hadoop)
2015-12-30 10:33:01,298 Stage-1 map = 100%, reduce = 0%
Ended Job = job_local1110537029_0030
MapReduce Jobs Launched:
Stage-Stage-1: HDFS Read: 0 HDFS Write: 0 SUCCESS
Total MapReduce CPU Time Spent: 0 msec
OK
new
new
Time taken: 1.277 seconds, Fetched: 2 row(s)
{code}
> select 'new' as col1 union all select 'new' as col2; Error: Error while
> compiling statement: FAILED: NullPointerException null
> (state=42000,code=40000)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-12755
> URL: https://issues.apache.org/jira/browse/HIVE-12755
> Project: Hive
> Issue Type: Improvement
> Reporter: Mir Fazil Mehdi
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)