Re: Adding New Column with Default Value
*Spark.* Alter the table, add a column. Run a spark job to scan your table, and set a value. * val myKeyspace = "pinch" val myTable = "hitter"* *def updateColumns(row: CassandraRow): CassandraRow = { * * val inputMap = row.toMap val newData = Map( "newColumn" -> "somevalue" ) * * var outputMap
Adding New Column with Default Value
Hi , Can anyone suggest a best possible way, how we can add a new column to the existing table with default value ? *Column family Size :* 60 Million single partition records. Thanks, Bharath Kumar B