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 31f3159 commit 7e1308dCopy full SHA for 7e1308d
sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
@@ -1674,7 +1674,7 @@ class DataFrame private[sql](
1674
*/
1675
@deprecated("Use write.jdbc()", "1.4.0")
1676
def insertIntoJDBC(url: String, table: String, overwrite: Boolean): Unit = {
1677
- val w = if (overwrite) write.mode(SaveMode.Overwrite) else write
+ val w = if (overwrite) write.mode(SaveMode.Overwrite) else write.mode(SaveMode.Append)
1678
w.jdbc(url, table, new Properties)
1679
}
1680
0 commit comments