spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Johnson <>
Subject How to see Cassandra List / Set / Map values from Spark Hive Thrift JDBC?
Date Mon, 08 Feb 2016 10:25:13 GMT
Hi all,

I have asked this question here on StackOverflow:

But hoping I get more luck from this group. When I write a Java SparkSQL
application to query a CassandraSQLContext, and print out a List column, it
prints out the values eg:

WrappedArray(mj485, pd153, ws019)

But when I query this same column from SquirrelSQL connecting to the Spark
HiveThriftServer2 JDBC, I get:

<UnknownType (2,003)>

Does anyone have any suggestions as to how I can get HiveThriftServer to
return the values, similar to how Java code does it?

Many thanks,


PS I am running Spark 1.5.1, Cassandra 2.1.10

View raw message