I\'m trying to insert and update some data on MySql using Spark SQL DataFrames and JDBC connection.
I\'ve succeeded to insert new data using the SaveMode.Append. Is
If your table is small, then you can read the sql data and do the upsertion in spark dataframe. And overwrite the existing sql table.