[ https://issues.apache.org/jira/browse/CASSANDRA-17803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17576849#comment-17576849 ]
Benjamin Lerer commented on CASSANDRA-17803: -------------------------------------------- It is the case for most statements simply because most of the checks cannot be done in the validate method for different reasons. > AlterTypeStatement validate is missing checks > --------------------------------------------- > > Key: CASSANDRA-17803 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17803 > Project: Cassandra > Issue Type: Bug > Components: Feature/UDT > Reporter: T Jake Luciani > Priority: Normal > Labels: lhf > > 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 -- 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