Jim Witschey created CASSANDRA-9565:
---------------------------------------

             Summary: 'WITH WITH' in CQLSH statements cause NPE
                 Key: CASSANDRA-9565
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9565
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jim Witschey


Running any of these statements:

{code}
ALTER KEYSPACE WITH WITH DURABLE_WRITES = true;
ALTER KEYSPACE ks WITH WITH DURABLE_WRITES = true;
CREATE KEYSPACE WITH WITH DURABLE_WRITES = true;
CREATE KEYSPACE ks WITH WITH DURABLE_WRITES = true;
{code}

Fails, raising a {{SyntaxException}} and giving a {{NullPointerException}} as 
the reason for failure. This happens in all versions I tried, including 2.0.15, 
2.1.5, and HEAD on cassandra-2.0, cassandra-2.1, cassandra-2.2, and trunk.



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

Reply via email to