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

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

    [ https://issues.apache.org/jira/browse/SPARK-38626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510920#comment-17510920 ] 

Apache Spark commented on SPARK-38626:
--------------------------------------

User 'aokolnychyi' has created a pull request for this issue:
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
>            Priority: Major
>
> 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