Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Code - Bug - Unclear Impact
-
Normal
-
Normal
-
User Report
-
All
-
None
-
Description
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
Attachments
Issue Links
- is fixed by
-
CASSANDRA-14825 Expose table schema for drivers
- Resolved
- is related to
-
CASSANDRA-15948 Multiple failures in cqlsh_tests.test_cqlsh.TestCqlsh
- Resolved
- links to