You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Petrov (JIRA)" <ji...@apache.org> on 2016/05/20 06:44:12 UTC

[jira] [Updated] (CASSANDRA-11851) Table alias not supported

     [ https://issues.apache.org/jira/browse/CASSANDRA-11851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Petrov updated CASSANDRA-11851:
------------------------------------
    Description: 
Table alias not supported in CQL ... Getting below error message while accessing it ... 

{code}
cqlsh:test>select e.emp_id from emp e;
Bad Request: line 1:25 no viable alternative at input 'e'
{code}

Same query is working with w/o alias name as well as with column alias....

Below are version details  : 
{code}
show version
[cqlsh 4.1.1 | Cassandra 2.0.17 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
{code}


  was:
Table alias not supported in CQL ... Getting below error message while accessing it ... 
cqlsh:test>select e.emp_id from emp e;
Bad Request: line 1:25 no viable alternative at input 'e'
Same query is working with w/o alias name as well as with column alias....

Below are version details  : 
show version
[cqlsh 4.1.1 | Cassandra 2.0.17 | CQL spec 3.1.1 | Thrift protocol 19.39.0]



> Table alias not supported 
> --------------------------
>
>                 Key: CASSANDRA-11851
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11851
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>         Environment: [cqlsh 4.1.1 | Cassandra 2.0.17 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
>            Reporter: Prajakta Bhosale
>            Priority: Minor
>
> Table alias not supported in CQL ... Getting below error message while accessing it ... 
> {code}
> cqlsh:test>select e.emp_id from emp e;
> Bad Request: line 1:25 no viable alternative at input 'e'
> {code}
> Same query is working with w/o alias name as well as with column alias....
> Below are version details  : 
> {code}
> show version
> [cqlsh 4.1.1 | Cassandra 2.0.17 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)