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

AlterTypeStatement validate is missing checks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • None
    • Feature/UDT
    • All

    Description

      All the checks for a valid AlterTypeStatement are happening in apply() not validate()

       

      Same problem in CreateTypeStatement.  https://github.com/apache/cassandra/blob/45f4f8c1e89e4b221b569ff3bd3e78675eff7747/src/java/org/apache/cassandra/cql3/statements/schema/CreateTypeStatement.java#L66

       

      Perhaps all schema statements should be checked for validations

      Attachments

        Activity

          People

            Unassigned Unassigned
            tjake T Jake Luciani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: