You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nadav Har'El (Jira)" <ji...@apache.org> on 2023/11/12 17:41:00 UTC

[jira] [Created] (CASSANDRA-19019) DESC TYPE forgets to quote UDT's field names

Nadav Har'El created CASSANDRA-19019:
----------------------------------------

             Summary: DESC TYPE forgets to quote UDT's field names
                 Key: CASSANDRA-19019
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19019
             Project: Cassandra
          Issue Type: Bug
            Reporter: Nadav Har'El


If I create a type with

*CREATE TYPE "Quoted_KS"."udt_@@@" (a int, "field_!!!" text)*

and then run DESC TYPE "Quoted_KS"."udt_@@@" I get:

*CREATE TYPE "Quoted_KS"."udt_@@@" (a int, field_!!! text)*

Note the missing quotes around the non-alphanumeric field name, which does need quoting. If I'll try to run this command, it won't work.

Tested on Cassandra 4.1.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org