SPARK SQL - update MySql table using DataFrames and JDBC

前端 未结 6 2054
旧巷少年郎
旧巷少年郎 2020-11-29 05:17

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

6条回答
  •  渐次进展
    2020-11-29 06:03

    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.

提交回复
热议问题