We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30eea40 commit c27e190Copy full SHA for c27e190
sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
@@ -1625,7 +1625,7 @@ class DataFrame private[sql](
1625
*/
1626
@deprecated("Use write.jdbc()", "1.4.0")
1627
def insertIntoJDBC(url: String, table: String, overwrite: Boolean): Unit = {
1628
- val w = if (overwrite) write.mode(SaveMode.Overwrite) else write
+ val w = if (overwrite) write.mode(SaveMode.Overwrite) else write.mode(SaveMode.Append)
1629
w.jdbc(url, table, new Properties)
1630
}
1631
0 commit comments