You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michaël Figuière (JIRA)" <ji...@apache.org> on 2013/10/01 14:07:26 UTC
[jira] [Created] (CASSANDRA-6120) Boolean constants syntax is not
consistent between DDL and DML in CQL
Michaël Figuière created CASSANDRA-6120:
-------------------------------------------
Summary: Boolean constants syntax is not consistent between DDL and DML in CQL
Key: CASSANDRA-6120
URL: https://issues.apache.org/jira/browse/CASSANDRA-6120
Project: Cassandra
Issue Type: Bug
Reporter: Michaël Figuière
Priority: Trivial
DDL statements allow boolean constants to be either quoted or unquoted as:
{code}
CREATE KEYSPACE ks WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1} AND durable_writes = true;
CREATE KEYSPACE ks WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1} AND durable_writes = 'true';
{code}
While DML statements only allow unquoted boolean constants.
While this is not a big deal, it can introduce a bit of confusion for the users. Fixing this lack of syntax consistency would break the existing scripts, so that's something we might want to consider next time we'll introduce some breaking changes in CQL...
--
This message was sent by Atlassian JIRA
(v6.1#6144)