Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-12654

Query Validation Error : CQL IN operator over last partitioning|clustering column (valid) is rejected if a query fetches collection columns

    XMLWordPrintableJSON

    Details

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              ifesdjeen Alex Petrov
              Reporter:
              saasira Samba Siva Rao Kolusu
              Authors:
              Alex Petrov
              Reviewers:
              Benjamin Lerer
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: