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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to