[
https://issues.apache.org/jira/browse/CASSANDRA-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096066#comment-13096066
]
Pavel Yaskevich commented on CASSANDRA-2474:
--------------------------------------------
For sparse field a propose following syntax
to list exact aliases you want to include into result
{noformat}
SELECT name as (tweet_id, username|body) ....
{noformat}
if you want to return any component names ? can be used
{noformat}
SELECT name as (tweet_id, ?) ....
{noformat}
That is going to return username, body and location
> 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