cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10043) A NullPointerException is thrown if the column name is unknown for an IN relation
Date Mon, 17 Aug 2015 19:31:45 GMT

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

Benjamin Lerer updated CASSANDRA-10043:
---------------------------------------
    Attachment: 10043-3.0.txt
                10043-2.2.txt

The patches fix the problem and add some unit tests to verify the behaviour.

* The results of the unit test for 2.2 are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-10043-2.2-dtest/lastCompletedBuild/testReport/]
* The results of the Dtest for 2.2 are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-10043-2.2-dtest/lastCompletedBuild/testReport/]
* The results of the unit test for 3.0 are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-10043-3.0-dtest/lastCompletedBuild/testReport/]
* The results of the Dtest for 3.0 are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-10043-3.0-dtest/lastCompletedBuild/testReport/]

> A NullPointerException is thrown if the column name is unknown for an IN relation
> ---------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10043
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10043
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Benjamin Lerer
>            Assignee: Benjamin Lerer
>         Attachments: 10043-2.2.txt, 10043-3.0.txt
>
>
> {code}
> 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">
> {code}
> The problem seems to occur only for {{IN}} restrictions 



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

Mime
View raw message