cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6120) Boolean constants syntax is not consistent between DDL and DML in CQL
Date Mon, 21 Oct 2013 15:43:53 GMT

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

Jonathan Ellis updated CASSANDRA-6120:
--------------------------------------

    Assignee: Sylvain Lebresne

> 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
>
> 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)

Mime
View raw message