TableMetadata#describe produces invalid CQL when a type of a column is a vector

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 4.19.0
    • Component/s: None
    • None

      It produces this

      CREATE TABLE test_keyspace.table_b1070d339c4c4318b1b0399f9ebdc3e2 (
          a int,
          b 'org.apache.cassandra.db.marshal.VectorType(3)',
          PRIMARY KEY (a)
         ....
      

      should be this

      CREATE TABLE test_keyspace.table_b1070d339c4c4318b1b0399f9ebdc3e2 (
          a int,
          b vector<int, 3>,
          PRIMARY KEY (a)
         ....
      

            Assignee:
            Stefan Miklosovic
            Reporter:
            Stefan Miklosovic
            Bret McGuire
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m