spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Mocanu <amoc...@verticalscope.com>
Subject writing booleans w Calliope
Date Thu, 17 Apr 2014 20:11:25 GMT
Has anyone managed to write Booleans to Cassandra from an RDD with Calliope?
My Booleans give compile time errors: expression of type List[Any] does not conform to expected
type Types.CQLRowValues
CQLColumnValue is definted as ByteBuffer: type CQLColumnValue = ByteBuffer

For now I convert them to string. I tried converting them to bytes but that compiled but gave
me a runtime error since scala byte is not compatible with Cassandra Boolean.

-Adrian


Mime
View raw message