You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Cédric Hernalsteens (JIRA)" <ji...@apache.org> on 2016/01/20 00:34:39 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15107675#comment-15107675 ] 

Cédric Hernalsteens commented on CASSANDRA-11036:
-------------------------------------------------

And now I can't reproduce. Could someone confirm that this should be supported?

> 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)