Support Questions
Find answers, ask questions, and share your expertise

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?