Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/19911#discussion_r155477703
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JdbcUtils.scala
---
@@ -98,10 +98,11 @@ object JdbcUtils extends Logging {
/**
* Truncates a table from the JDBC database.
*/
- def truncateTable(conn: Connection, table: String): Unit = {
+ def truncateTable(conn: Connection, options: JDBCOptions): Unit = {
--- End diff --
Ur, it looks like a counter-intuitive change.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]