[
https://issues.apache.org/jira/browse/SPARK-22880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiao Li resolved SPARK-22880.
-----------------------------
Resolution: Fixed
Assignee: Daniel van der Ende
Fix Version/s: 2.4.0
> 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
> Assignee: Daniel van der Ende
> Priority: Minor
> Fix For: 2.4.0
>
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]