[ https://issues.apache.org/jira/browse/CASSANDRA-13784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16141243#comment-16141243 ]
timur commented on CASSANDRA-13784: ----------------------------------- Super > mismatched input 'default' expecting for CREATE TABLE > ----------------------------------------------------- > > Key: CASSANDRA-13784 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13784 > Project: Cassandra > Issue Type: Bug > Components: CQL > Environment: {code} > [root@localhost config]# cat /etc/os-release > NAME="CentOS Linux" > VERSION="7 (Core)" > ID="centos" > ID_LIKE="rhel fedora" > VERSION_ID="7" > PRETTY_NAME="CentOS Linux 7 (Core)" > ANSI_COLOR="0;31" > CPE_NAME="cpe:/o:centos:centos:7" > HOME_URL="https://www.centos.org/" > BUG_REPORT_URL="https://bugs.centos.org/" > CENTOS_MANTISBT_PROJECT="CentOS-7" > CENTOS_MANTISBT_PROJECT_VERSION="7" > REDHAT_SUPPORT_PRODUCT="centos" > REDHAT_SUPPORT_PRODUCT_VERSION="7" > [root@localhost config]# rpm -qa | grep cassandra > cassandra-3.11.0-1.noarch > [root@localhost config]# cassandra -v > 3.11.0 > {code} > Reporter: timur > > Got following error for table create if column name is "default" on 3.11. If > I change column name for example to "defaults" table successfully creates. > For 3.9 version table with "default" column name successfully creates. > {code:sql} > cqlsh:api_production> CREATE TABLE tasks (id uuid PRIMARY KEY, default > boolean, name text, tenant_id uuid) ; > SyntaxException: line 1:41 mismatched input 'default' expecting ')' (...(id > uuid PRIMARY KEY, [default]...) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org