Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Low
Description
CQL3, binary protocol.
collections (id int primary key, amap map<int, varchar>);
preparing "UPDATE test.collections SET amap[?] = ? WHERE id = ?" returns the following metadata:
[{column,<<"test">>,<<"collections">>,<<"amap">>,
{map,int,varchar}},
{column,<<"test">>,<<"collections">>,<<"amap">>,
{map,int,varchar}},
]
Ideally it should return [int, varchar, int] types. Less ideally [
{map, int, varchar}, int] and expect an encoded map with a single key-value pair. But certainly not what it currently returns.
Attachments
Attachments
Issue Links
- is duplicated by
-
CASSANDRA-5018 Some queries with collections require quoting the key even when the key is an integer
- Resolved