Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

implement upsurt logic on nested json in cassandra

implement upsurt logic on nested json in cassandra

Suppose i have nested json data in cassandra in below format.

{col1:{col2:{col3:{.....}}}

 

If i get a row having same col1 & col2 values but any difference in nested json below col2 then that should overwrite the old one's nested json below col2.

If i get a row having same col1 but different col2 then it should append the new json to the old one.

 

How to achieve this in cassandra?

 

Don't have an account?
Coming from Hortonworks? Activate your account here