cassandra-jdbc-wrapper icon indicating copy to clipboard operation
cassandra-jdbc-wrapper copied to clipboard

Collection of frozen types support

Open belgacea opened this issue 8 years ago • 1 comments

Hi, I'm trying to query C* 3.7 with your driver but my column family (table) model contains a list of frozen tuple of strings and the driver don't support it. Like this cql example :

CREATE TABLE IF NOT EXISTS test.users(
  user_id uuid,
  time timeuuid,

  created_at date STATIC,

  info map<text, text>,
  ancestors list<frozen<tuple<text,text>>>,
  childs list<frozen<tuple<text,text>>>

I don't know how to build a jdbc driver but do you know if this type is easy to handle? How could I fix (update) your driver to do the job ? Thanks !

Error in .jcall(rp, "I", "fetch", stride, block) : com.datastax.driver.core.exceptions.CodecNotFoundException: Codec not found for requested operation: [frozen<tuple<varchar, varchar>> <-> java.lang.String]

belgacea avatar Aug 09 '16 10:08 belgacea

Driver don't seem to handle integer type neither..

belgacea avatar Aug 11 '16 12:08 belgacea