You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Oskar Liljeblad (Jira)" <ji...@apache.org> on 2020/03/26 06:14:00 UTC
[jira] [Created] (CASSANDRA-15663) DESCRIBE KEYSPACE does not
properly quote table names
Oskar Liljeblad created CASSANDRA-15663:
-------------------------------------------
Summary: DESCRIBE KEYSPACE does not properly quote table names
Key: CASSANDRA-15663
URL: https://issues.apache.org/jira/browse/CASSANDRA-15663
Project: Cassandra
Issue Type: Bug
Components: CQL/Syntax
Reporter: Oskar Liljeblad
How to reproduce (3.11.6) - cqlsh:
CREATE KEYSPACE test1 WITH replication = \{'class': 'SimpleStrategy', 'replication_factor': '1'} AND durable_writes = true;
CREATE TABLE test1."default" (id text PRIMARY KEY, data text, etag text);
DESCRIBE KEYSPACE test1;
Output will be:
CREATE TABLE test1.default (
id text PRIMARY KEY,
data text,
etag text
) WITH [..]
Output should be:
CREATE TABLE test1."default" (
id text PRIMARY KEY,
data text,
etag text
) WITH [..]
If you try to run CREATE TABLE test1.default [..] you will get an error
SyntaxException: line 1:19 no viable alternative at input 'default' (CREATE TABLE test1.[default]...)
Oskar Liljeblad
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org