You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2016/02/05 17:53:40 UTC

[jira] [Resolved] (CASSANDRA-11036) Failing to format MAP type where the key is UDT and the value is another MAP

     [ https://issues.apache.org/jira/browse/CASSANDRA-11036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne resolved CASSANDRA-11036.
------------------------------------------
    Resolution: Cannot Reproduce

Yes, that's supposed to work, but if you can't reproduce, I suppose we're good. Feel free to re-open if you can reproduce reliably on a recent 2.2.

> Failing to format MAP type where the key is UDT and the value is another MAP
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11036
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11036
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: [cqlsh 5.0.1 | Cassandra 2.2.3 | CQL spec 3.3.1 | Native protocol v4]
>            Reporter: Cédric Hernalsteens
>            Priority: Minor
>             Fix For: 2.2.3
>
>
> A column defined as
> MAP<FROZEN<cycle>,FROZEN<MAP<TEXT,TEXT>>> STATIC
> with the UDT 'cycle' being
> CREATE TYPE kepler.cycle (
> 	machine           TEXT,
> 	injection         INT,
> 	cyclestamp        TIMESTAMP
> );
> generates the following error in cqlsh:
> Failed to format value OrderedMapSerializedKey([(kepler_cycle(machine=u'PS', injection=1), OrderedMapSerializedKey([(u'selector', u'CPS.USER.MD8'), (u'seqnumber', u'21')]))]) : "kepler_cycle(machine=u'PS', injection=1)"
> (I left my actual in there, I doubt that's sensitive).
> The row shows
> OrderedMapSerializedKey([(kepler_cycle(machine=u'PS', injection=1), OrderedMapSerializedKey([(u'selector', u'CPS.USER.MD8'), (u'seqnumber', u'22')]))])



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)