Hi Team, i am trying to key by on json object on ...
# random
v
Hi Team, i am trying to key by on json object on particular key. i am applying multiple keyby->sum on different keys separately. how can i solve this issue?
Copy code
Example:

{test:abc , test1:xyz}
{test:abc , test1:pqr}
{test:mno , test1:xyz}

after key by:

{test:abc , test1:xyz, test_sum:1, test1_sum: 1}
{test:abc , test1:pqr, test_sum:2, test1_sum: 1}
{test:mno , test1:xyz, test_sum:1, test1_sum: 2}
if i use keyby(key).sum(position) it is working for one key only. but can not able to multiple key separately. can somebody please help me with this? Thanks