Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/20057#discussion_r168927785
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/jdbc/AggregatedDialect.scala ---
@@ -64,7 +64,16 @@ private class AggregatedDialect(dialects:
List[JdbcDialect]) extends JdbcDialect
}
}
- override def getTruncateQuery(table: String): String = {
- dialects.head.getTruncateQuery(table)
+ /**
+ * The SQL query used to truncate a table.
+ * @param table The JDBCOptions.
--- End diff --
?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]