Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-19019

DESC TYPE forgets to quote UDT's field names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None
    • All
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nyh Nadav Har'El
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: