Aleksey Yeschenko created CASSANDRA-5017:
--------------------------------------------
Summary: Preparing UPDATE queries with collections returns
suboptimal metadata
Key: CASSANDRA-5017
URL: https://issues.apache.org/jira/browse/CASSANDRA-5017
Project: Cassandra
Issue Type: Bug
Affects Versions: 1.2.0 beta 2
Reporter: Aleksey Yeschenko
Assignee: Sylvain Lebresne
Priority: Minor
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}},
{column,<<"test">>,<<"collections">>,<<"id">>,int}]
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira