Improve exception message when data frame is to be saved in non-empty Cassandra table
Description
When a user attempts to save a data frame, Spark throws an exception saying 'Writing to a non-empty Cassandra Table is not allowed.' It will be helpful if the exception message could refer the user to write modes or to check for write mode. Below is the complete exception trace.
When a user attempts to save a data frame, Spark throws an exception saying 'Writing to a non-empty Cassandra Table is not allowed.' It will be helpful if the exception message could refer the user to write modes or to check for write mode. Below is the complete exception trace.