When we execute Operation.get()
operations with MapOperation.increment()
in a single db operation like,
operations.add(Operation.add(new Bin(binName1), data1)));
operations.add(Operation.add(new Bin(binName2), data2)))
operations.add(MapOperation.increment(binName3, key, value));
Expected Value: -
(gen:4),(exp:263988757),(bins:(wd201740:2),(w_tg_201740:{f=2,e=2}))
What we get: -
(gen:4),(exp:263988757),(bins:(w_tg_201740:[2, null, 2, null, {f=2, e=2}]),(wd201740:null),(nsp_wt201740:null),(wt201740:[null, 4]))
Or
Expected Value:
(gen:6),(exp:263990995),(bins:(w_tg_201740: {f=4, e=4}))
What we get:
(gen:6),(exp:263990995),(bins:(w_tg_201740:[4, 4, {f=4, e=4}]))
i.e, we receive each bin as a list, instead of generic values stored at those bins.