27
votes

During the creation of a table, like in SQL we have DEFAULT to insert a defualt value for a column. type tinyint(1) NOT NULL DEFAULT '0'

Is there anything to achieve the same in Cassandra .

1

1 Answers

45
votes

No, there is no default value in Cassandra. Further more, setting a column value to null means removing it