[
https://issues.apache.org/jira/browse/SPARK-57243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-57243:
-----------------------------------
Labels: pull-request-available (was: )
> Wrap IsNull and IsNotNull in brackets for V2 SQL builder
> --------------------------------------------------------
>
> Key: SPARK-57243
> URL: https://issues.apache.org/jira/browse/SPARK-57243
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 4.2.0
> Reporter: Milan Stefanovic
> Priority: Major
> Labels: pull-request-available
>
> Right now IsNull is pushed without brackets, so if we were to have expression
> such as:
> IsNull(EqualTo(a, b)) it would be pushed down as `a=b IS NULL`.
> This is error prone as it depends on operator precedence/parser of the
> dialect.
> We should make it more safe by pushing it down as `(a=b) IS NULL`
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]