Daniel van der Ende created SPARK-22880:
-------------------------------------------

             Summary: 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

Reply via email to