[ 
https://issues.apache.org/jira/browse/CASSANDRA-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099141#comment-13099141
 ] 

T Jake Luciani commented on CASSANDRA-2474:
-------------------------------------------

bq. UPDATE tweets SET COMPOUND NAME ('2e1c3308', 'cscotta') = 'My motocycle...' 
WHERE KEY = <key>;

We can create a function like COMPOUND_NAME which will create a composite 
column under the hood, that will work for hive too.

The syntax would then look like:

{code}
UPDATE tweets:transposed SET value = 'my motorcycle' WHERE KEY= <key> AND 
column = COMPOUND_NAME('2e1c3308', 'cscotta');
{code}

> CQL support for compound columns
> --------------------------------
>
>                 Key: CASSANDRA-2474
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2474
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API, Core
>            Reporter: Eric Evans
>            Assignee: Pavel Yaskevich
>              Labels: cql
>             Fix For: 1.0
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> For the most part, this boils down to supporting the specification of 
> compound column names (the CQL syntax is colon-delimted terms), and then 
> teaching the decoders (drivers) to create structures from the results.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to