You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2018/07/20 20:06:00 UTC
[jira] [Resolved] (SPARK-22880) Add option to cascade jdbc truncate
if database supports this (PostgreSQL and Oracle)
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org