spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Johnson <matt.john...@algomi.com>
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:



http://stackoverflow.com/questions/35222365/spark-sql-hivethriftserver2-get-liststring-from-cassandra-in-squirrelsql



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,

Matthew





PS I am running Spark 1.5.1, Cassandra 2.1.10

Mime
View raw message