You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Ivan Babic <ba...@gmail.com> on 2015/07/26 19:50:57 UTC

Spark - Cassandra (timestamp question)

Hi,

I am using Spark to load data form Cassandra. One of the fields in C* table
is timestamp. When queried in C* it looks like this "2015-06-01
02:56:07-0700"

After loading data in to Spark DataFrame (using sqlContext) and printing it
from there, I lose the last field (4-digit time zone) and than it looks
like this "2015-06-01 02:56:07.0"

Any suggestions?

Thanks


-- 
Babic Ivan