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

A NullPointerException is thrown if the column name is unknown for an IN relation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.2.1, 3.0 beta 2
    • Component/s: Legacy/CQL
    • Labels:
      None
    • Severity:
      Normal
    • Since Version:

      Description

      cqlsh:test> create table newTable (a int, b int, c int, primary key(a, b));
      cqlsh:test> select * from newTable where d in (1, 2);
      ServerError: <ErrorMessage code=0000 [Server error] message="java.lang.NullPointerException">
      

      The problem seems to occur only for IN restrictions

        Attachments

        1. 10043-2.2.txt
          7 kB
          Benjamin Lerer
        2. 10043-3.0.txt
          7 kB
          Benjamin Lerer

          Activity

            People

            • Assignee:
              blerer Benjamin Lerer
              Reporter:
              blerer Benjamin Lerer
              Authors:
              Benjamin Lerer
              Reviewers:
              Robert Stupp
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: