[
https://issues.apache.org/jira/browse/CASSANDRA-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097231#comment-13097231
]
Sylvain Lebresne commented on CASSANDRA-2474:
---------------------------------------------
bq. The core difference is that (..,..,..) notation will return given aliases
(category, subcategory) as column names in the results
But how will it do that ?
The result of
{noformat}
SELECT c1:*..c2:*, value FROM events WHERE key = <timestamp>;
{noformat}
would be something like
{noformat}
Key | c1:subc1 | c1:subc2 | c1:subc3 | c2:subc1 |
<timestamp> | event_value1 | event_value2 | event_value3 | event_value4 |
{noformat}
How do the result look like with 'given aliases (category, subcategory) as
column names in the results' ?
> 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