Hi All,
There are 2 scenerios, first scenerio it is working as expected but in second it is throwing an exception
First Scenerio below is the data
aql> select * from foo.test; ±-------±-----------±------------------------- | $dummy | modifiedBy | schemaVersion | id | ±-------±-----------±--------------±--------+ | 0 | “smadmin” | 11111111111 | “test2” | ±-------±-----------±------------------------- 1 row in set (1.601 secs)
OK
Using below python code to fetch data and it is working as expected key = (‘foo’, ‘test’, ‘test2’) (key, meta, bins) = client.get(key)
Second scenerio below is the data
aql> select * from foo.test2; ±---------------±-------------------------------------------------------------+ | schemaVersion | id | ±---------------±-------------------------------------------------------------+ | 11111111111 | MAP(‘{“Id”:1649820976786, “pat”:“test1”}’) | ±---------------±-------------------------------------------------------------+ 1 row in set (1.392 secs)
OK
Using below python code to fetch data and it is throwing an exception key = (“foo”, “test2”, “{‘pat’: ‘test1’, ‘Id’: 1649820976786}”) (key, meta, bins) = client.get(key)
How to fetch data if the key is the map
Thanks Gajendra