You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (Updated) (JIRA)" <ji...@apache.org> on 2012/01/20 07:48:39 UTC
[jira] [Updated] (CASSANDRA-3755) NPE on invalid CQL DELETE command
[ https://issues.apache.org/jira/browse/CASSANDRA-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated CASSANDRA-3755:
------------------------------------
Attachment: unknown_cf.diff
throw a IRE exception with understandable error message, rather than NPE.
> NPE on invalid CQL DELETE command
> ---------------------------------
>
> Key: CASSANDRA-3755
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3755
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.8 beta 1
> Reporter: paul cannon
> Priority: Minor
> Labels: cql
> Attachments: unknown_cf.diff
>
>
> The CQL command {{delete from k where key='bar';}} causes Cassandra to hit a NullPointerException when the "k" column family does not exist, and it subsequently closes the Thrift connection instead of reporting an IRE or whatever. This is probably wrong.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira