Reading Cassandra columns using wildcard or like query where column contain timestamp

338 views
Skip to first unread message

ashu.shri

unread,
Dec 18, 2015, 12:43:09 AM12/18/15
to DataStax Spark Connector for Apache Cassandra
Hello Experts,

We have column names like, c:vh:1449814025734 in Cassandra. i.e.
c:vh:<timestamp>, after vh timestamp is appended. Is there a way out to read this column using spark connector. Or does spark connector support wildcard where we can fetch columns containing (c:vh:*) or like queries and then we can iterate over it to get our desired value.

Any advice will be of great help.

Thanks!

Russell Spitzer

unread,
Dec 18, 2015, 4:01:36 PM12/18/15
to DataStax Spark Connector for Apache Cassandra
The Spark Cassandra connector only can read things via the Java Driver so dynamic cell names are not really supported. If the java driver can read them into a (pk, col, val) tuple you could pushdown a predicate on your col but I'm not sure it will. 

--
You received this message because you are subscribed to the Google Groups "DataStax Spark Connector for Apache Cassandra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spark-connector-...@lists.datastax.com.
--
Reply all
Reply to author
Forward
0 new messages