You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and its meant for string argument (which actually have str) type to remove quoutes of it, but in this case after json.loads(string) (323 line in types.py) in this method was passed list and slice just removed first and last items :)
And its confirmed with list of 3+ elements:
INSERT INTO map_map_map VALUES ({'key1': {'key2': ['123', '456', '789']}})
In [1]: dict(awaitch_client.fetchrow("select * from map_map_map order by data desc"))
Out[1]: {'data': {'key1': {'key2': ['456']}}}
So right now MapType not working properly and need some fixes.
The text was updated successfully, but these errors were encountered:
test_fetchrow_with_empties
didnt pass):'
fromworld {'
is missing.Lest create table with nested
Map
and one them have value withArray
type:Expected result from
SELECT
query:Real result:
So values of
key2
are dissapeared.And i can tell you why.
Because array type has slice [1:-1] there:
and its meant for string argument (which actually have
str
) type to remove quoutes of it, but in this case afterjson.loads(string)
(323 line intypes.py
) in this method was passedlist
and slice just removed first and last items :)And its confirmed with list of 3+ elements:
So right now
MapType
not working properly and need some fixes.The text was updated successfully, but these errors were encountered: