Reputation: 820
How can I add a new field/column in a Cassandra table with default value "whatever" ? I know how to add a new column, however, need it to be set to a certain value.
Upvotes: 8
Views: 10630
Reputation: 16430
There is no cell default value in cassandra. Best option is to in your application identify null values and change it to the default.
Upvotes: 10