[
https://issues.apache.org/jira/browse/SPARK-56558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18075111#comment-18075111
]
Pablo Langa Blanco commented on SPARK-56558:
--------------------------------------------
I'm working on it
> CTAS IF NOT EXISTS bypasses non-empty location check when table does not
> exist in catalog
> -----------------------------------------------------------------------------------------
>
> Key: SPARK-56558
> URL: https://issues.apache.org/jira/browse/SPARK-56558
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 4.2.0, 4.1.2, 3.5.9, 4.0.3
> Reporter: Pablo Langa Blanco
> Priority: Major
>
> CREATE TABLE IF NOT EXISTS ... LOCATION ... AS SELECT silently overwrites
> data in a non-empty directory when the table does not yet exist in the
> catalog, bypassing the protection introduced in SPARK-28551
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]