问题
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.
回答1:
There is no cell default value in cassandra. Best option is to in your application identify null values and change it to the default.
来源:https://stackoverflow.com/questions/48749253/how-can-i-add-a-new-field-in-a-cassandra-table-with-default-value-whatever