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

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

    [ https://issues.apache.org/jira/browse/CASSANDRA-19019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785315#comment-17785315 ] 

Stefan Miklosovic commented on CASSANDRA-19019:
-----------------------------------------------

I think this was fixed in CASSANDRA-17918 which is in 4.1.2.

https://github.com/apache/cassandra/commit/75194201f1f06d120f246f6fad025ca5f672943d

[~nyh] could you check that so we can eventually close this one as a duplicate?

> 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
>            Priority: Normal
>
> 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