hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-14742) Hive on spark throws NPE exception for union all query
Date Tue, 13 Sep 2016 13:53:20 GMT
Aihua Xu created HIVE-14742:
-------------------------------

             Summary: Hive on spark throws NPE exception for union all query 
                 Key: HIVE-14742
                 URL: https://issues.apache.org/jira/browse/HIVE-14742
             Project: Hive
          Issue Type: Bug
          Components: Spark
    Affects Versions: 2.0.0
            Reporter: Aihua Xu
            Assignee: Aihua Xu


{noformat}
create table foo (fooId string, fooData string) partitioned by (fooPartition string) stored
as parquet;
insert into foo partition (fooPartition = '1') values ('1', '1'), ('2', '2');
set hive.execution.engine=spark;
select * from ( 
select 
fooId as myId, 
fooData as myData 
from foo where fooPartition = '1' 
union all 
select 
fooId as myId, 
fooData as myData 
from foo where fooPartition = '3' 
) allData;
{noformat}

Error while compiling statement: FAILED: NullPointerException null



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message