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

Sylvain Lebresne resolved CASSANDRA-6120.
-----------------------------------------
    Resolution: Won't Fix

Closing for the reasons expressed aboved and the lack of counter-argument 
expressed.

> 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
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>              Labels: cql
>
> 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.3.4#6332)

Reply via email to