Re: UDF/UDA for json data aggregation

2016-11-16 Thread DuyHai Doan
"Can we do something like this" --> Yes but requires a lot of coding "can we import java classes from thirdparty jars for parsing/updating json in UDF defined" --> No because the reasoning behind this limitation is: IF you need to import third-party jars for your UDF/UDA, it means that the computa

UDF/UDA for json data aggregation

2016-11-16 Thread techpyaasa .
Hi all, Like to use UDF/UDA in c*-2.2 & above to aggregate attibutes values in a json data. For example below table. *"CREATE TABLE test ( id bigint , time1 bigint , jsonData text , PRIMARY KEY(id,time1));* *cqlsh:test> INSERT INTO test (id , time1 , jsonData ) VALUES ( 1, 123, '{"node1":{"