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.

Pull Requests

https://github.com/datastax/spark-cassandra-connector/pull/941 (1.4.x) https://github.com/datastax/spark-cassandra-connector/pull/957 (1.5.y) https://github.com/datastax/spark-cassandra-connector/pull/956 (1.6.z)

Activity

Show:

Jaroslaw Grabowski April 4, 2016 at 10:21 AM

ready to merge

Fixed

Details

Assignee

Reporter

Reviewer

Reviewer 2

Components

Fix versions

Affects versions

Priority

Created February 26, 2016 at 2:13 AM
Updated April 14, 2016 at 10:19 AM
Resolved April 4, 2016 at 6:35 PM