Four Stars

Reading list datatype from Cassandra

Hi,
I need to read LIST datatype data from Cassandra table. Can you please help finding a help material for this please? I tried searching but couldn't find much. Please help.

Thanks
Ragavendran S
Tags (2)
6 REPLIES
Four Stars

Re: Reading list datatype from Cassandra

Hi,
Can you please help on this scenario?
In one of the column (List datatype) in Cassandra table, I have data like this.
[{Field1:10,Field2:'value1'},{Field1:20,Field2:'value2'}]

I have to process this data which is coming in a single record.
Please help.

Thanks
Ragavendran S
Four Stars

Re: Reading list datatype from Cassandra

Hi,

 

Did u get any solution for this ? If yes, could you please help me as am facing the same issue .

Regards,

Haritha

Eleven Stars

Re: Reading list datatype from Cassandra

can you try to extract list data type with tExtractJson?

Manohar B
Four Stars

Re: Reading list datatype from Cassandra

Hi Mano,

Data is actually in arraylist with hashmap in it.

below is the format

[{Field1:10,Field2:'value1'},{Field1:20,Field2:'value2'}]

Eleven Stars

Re: Reading list datatype from Cassandra

Hi Haritha,

 

you can do in tmap using index and substring function,can you try.

Manohar B
Eleven Stars

Re: Reading list datatype from Cassandra

@haritharamini,did it help you?

Manohar B