Anton Okolnychyi created SPARK-38626:
----------------------------------------

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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to