[ https://issues.apache.org/jira/browse/SPARK-22880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301591#comment-16301591 ]
Apache Spark commented on SPARK-22880: -------------------------------------- User 'danielvdende' has created a pull request for this issue: https://github.com/apache/spark/pull/20057 > Add option to cascade jdbc truncate if database supports this (PostgreSQL and > Oracle) > ------------------------------------------------------------------------------------- > > Key: SPARK-22880 > URL: https://issues.apache.org/jira/browse/SPARK-22880 > Project: Spark > Issue Type: New Feature > Components: SQL > Affects Versions: 2.2.1 > Reporter: Daniel van der Ende > > When truncating tables, PostgreSQL and Oracle support an option `TRUNCATE`. > This cascades the truncate to tables with foreign key constraints on a column > in the table specified to truncate. It would be nice to be able to optionally > set this `TRUNCATE` option for PostgreSQL and Oracle. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org