[ https://issues.apache.org/jira/browse/CASSANDRA-20458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic updated CASSANDRA-20458: ------------------------------------------ Workflow: Copy of Cassandra Bug Workflow (was: Copy of Cassandra Default Workflow) Issue Type: Bug (was: Task) > Support definition of constraint on a newly added column while altering a > table > ------------------------------------------------------------------------------- > > Key: CASSANDRA-20458 > URL: https://issues.apache.org/jira/browse/CASSANDRA-20458 > Project: Apache Cassandra > Issue Type: Bug > Components: Feature/Constraints > Reporter: Stefan Miklosovic > Priority: Normal > > We can't specify check while adding a column. It is possible to do that while > altering already existing column. > {code} > cassandra@cqlsh> ALTER TABLE ks.my_times ADD newcolumn int CHECK newcolumn > > 10; > SyntaxException: line 1:42 mismatched input 'CHECK' expecting EOF > (...ks.my_times ADD newcolumn int [CHECK] newcolumn...) > {code} -- 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