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

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.2.1, 3.0 beta 2
    • Legacy/CQL
    • None
    • Normal

    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-3.0.txt
          7 kB
          Benjamin Lerer
        2. 10043-2.2.txt
          7 kB
          Benjamin Lerer

        Activity

          People

            blerer Benjamin Lerer
            blerer Benjamin Lerer
            Benjamin Lerer
            Robert Stupp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: