You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2022/03/23 01:13:00 UTC

[jira] [Resolved] (SPARK-38626) Make condition in DeleteFromTable required

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

Wenchen Fan resolved SPARK-38626.
---------------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed

Issue resolved by pull request 35941
[https://github.com/apache/spark/pull/35941]

> Make condition in DeleteFromTable required
> ------------------------------------------
>
>                 Key: SPARK-38626
>                 URL: https://issues.apache.org/jira/browse/SPARK-38626
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Anton Okolnychyi
>            Assignee: Anton Okolnychyi
>            Priority: Major
>             Fix For: 3.3.0
>
>
> Right now, the condition in {{DeleteFromTable}} is optional. When it is not set, it is equivalent to a true literal. As a consequence, rules that handle such statements have to catch these two different yet equivalent representations, which makes those rules more complex. Instead, we can simply default the condition while parsing and make it required.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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