cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samba Siva Rao Kolusu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12654) Query Validation Error : CQL IN operator over last partitioning|clustering column (valid) is rejected if a query fetches collection columns
Date Wed, 02 Nov 2016 07:01:08 GMT

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

Samba Siva Rao Kolusu commented on CASSANDRA-12654:
---------------------------------------------------

This is what Tyler Hobbs said:

However, it seems like this would be possible to support in Cassandra 3.x.
We probably just need to remove the check and verify that it actually
works.  Can you open a new JIRA ticket for this?

seems like the 'code limitation' mentioned in CASSANDRA-5230 or CASSANDRA-4762 has gone away.
could you please verify if it is really not possible 'at the moment' for 3.x branch, and if
possible could you also identify what needs to be changed/added/removed to allow this 'feature'?

Thanks,
Samba

> Query Validation Error : CQL IN operator over last partitioning|clustering column (valid)
is rejected if a query fetches collection columns
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12654
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12654
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>            Reporter: Samba Siva Rao Kolusu
>            Assignee: Alex Petrov
>            Priority: Minor
>              Labels: easyfix
>             Fix For: 3.x
>
>
> although IN operator is allowed over the last clustering or partitioning columns, the
CQL Query Validator is rejecting queries when they attempt to fetch collection columns in
their result set.
> It seems a similar bug (CASSANDRA-5376) was raised some time ago, and a fix (rather mask)
was provided to give a better error message to such queries in 1.2.4. 
> Considering that Cassandra & CQL has evolved a great deal from that period, it now
seems possible to provide an actual fix to this problem, i.e. allowing queries to fetch collection
columns even when IN operator is used.
> please read the following mail thread to understand the context : 
> https://lists.apache.org/thread.html/8e1765d14bd9798bf9c0938a793f1dbc9c9349062a8705db2e28d291@%3Cuser.cassandra.apache.org%3E



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

Mime
View raw message