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

Rick Shaw commented on CASSANDRA-2474:
--------------------------------------

The keyword "AS" may be a bit confusing to SQL users. It is a optional keyword 
that signifies that that the following word is to be taken has an alias for the 
first word. In CQL context it would more appropriately be used for giving a 
text label to a numeric (or whatever) column name. I readily admit I do not 
really understand how this feature works. Even if it is used, it would seem you 
would declare it in the reverse order? Like:


{code}
SELECT column_name AS alias FROM CF;
{code}

Could "WITH" be a substitute for "AS" in this compound context?

> 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