You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/07/15 06:04:00 UTC

[jira] [Updated] (SPARK-28374) DataSourceV2: Add method to support INSERT ... IF NOT EXISTS

     [ https://issues.apache.org/jira/browse/SPARK-28374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-28374:
---------------------------------
    Description: This is a follow-up to [PR #24832 (comment)|https://github.com/apache/spark/pull/24832/files#r298257179]. The SQL parser supports INSERT ... IF NOT EXISTS to validate that an insert did not write into existing partitions. This requires the addition of a support trait for the write builder, so should be done as a follow-up.  (was: This is a follow-up to [PR #24832 (comment)|[https://github.com/apache/spark/pull/24832/files#r298257179]]. The SQL parser supports INSERT ... IF NOT EXISTS to validate that an insert did not write into existing partitions. This requires the addition of a support trait for the write builder, so should be done as a follow-up.)

> DataSourceV2: Add method to support INSERT ... IF NOT EXISTS
> ------------------------------------------------------------
>
>                 Key: SPARK-28374
>                 URL: https://issues.apache.org/jira/browse/SPARK-28374
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Ryan Blue
>            Priority: Major
>
> This is a follow-up to [PR #24832 (comment)|https://github.com/apache/spark/pull/24832/files#r298257179]. The SQL parser supports INSERT ... IF NOT EXISTS to validate that an insert did not write into existing partitions. This requires the addition of a support trait for the write builder, so should be done as a follow-up.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org