Quantcast
Channel: DataStax Support Forums » Recent Topics
Viewing all articles
Browse latest Browse all 387

tyheath78 on "Null values in CQL table cause Hive Error"

$
0
0

I'm using DSE enterprise 3.1. Is there any way to get Hive to stop throwing errors if a CQL table has a null value?

cqlsh:testing> create table test (a text, b text, c text, primary key(a));
cqlsh:testing> insert into test (a,b) values ('AAA','BBBB');
cqlsh:testing> select * from test;

a | b | c
-----+------+------
AAA | BBBB | null

//... meanwhile back in hive

hive> select * from test;
OK
Failed with exception java.io.IOException:java.lang.NullPointerException
Time taken: 0.107 seconds


Viewing all articles
Browse latest Browse all 387

Trending Articles