Re: How to register cassandra custom codecs in spark? (https://github.com/datastax/spark-cassandra-connector/issues/1173)

2018-04-15 Thread Dinesh Joshi
Hi Revanth, I took a quick look and don't think you can override existing mappings. You should see a warning like this - 18/04/15 19:50:27 WARN CodecRegistry: Ignoring codec CustomTSTypeCodec [date <-> java.lang.Long] because it collides with previously registered codec CustomTSTypeCodec [date

Re: How to register cassandra custom codecs in spark? (https://github.com/datastax/spark-cassandra-connector/issues/1173)

2018-04-15 Thread Dinesh Joshi
Hi Revanth, How do you register the custom codec? Do you get any errors? Have you tried using a pre-existing codec? It would be helpful if you can give more information. DineshOn Saturday, April 14, 2018, 7:29:30 PM PDT, Revanth Reddy wrote: Hi Team , I

How to register cassandra custom codecs in spark? (https://github.com/datastax/spark-cassandra-connector/issues/1173)

2018-04-14 Thread Revanth Reddy
Hi Team , I want to write a custom cassandra codec and i want to use that codec in my spark application while reading the data from cassandra table . Basically the custom codecs are used to convert one column type to another while reading from cassandra. for example i have a timestamp column in