Update map bin data without reading all data and writing back




I have a record with a bin which has datatype map

'bin' : {'a':1, 'b': 2}

Is there a way to call something like this?

client.map_update(key, 'bin', {'a': 3, 'c': 4}

and get

'bin' : {'a':3, 'b': 2, 'c': 4}

I couldn’t find any command in python client, is there a plan to have such commands in near python client releases(like “list_*” commands, which were added recently).



Atomic map operations are planned for a near future release (they’re in the 2016 engineering roadmap), and this type of operation should be supported. This follows the atomic list operations released in version 3.7 of the server.