You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nikita Glashenko (Jira)" <ji...@apache.org> on 2020/07/09 10:00:00 UTC

[jira] [Comment Edited] (SPARK-31760) Simplification Based on Containment

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

Nikita Glashenko edited comment on SPARK-31760 at 7/9/20, 9:59 AM:
-------------------------------------------------------------------

[~yumwang] Let's see if I have the right idea of what needs to be done.

We need to add a new Catalyst rule. It'll be similar to `BooleanSimplification` rule.

The simplest example of what this rule will do is
{code:java}
(a > 5 && a > 0) => (a > 5){code}


was (Author: glashenko):
[~yumwang] Let's see if I have the right idea of what needs to be done.

We need to add a new Catalyst rule. It'll be similar to `BooleanSimplification` rule.

The simplest example of what this rule does is
{code:java}
(a > 5 && a > 0) => (a > 5){code}

> Simplification Based on Containment
> -----------------------------------
>
>                 Key: SPARK-31760
>                 URL: https://issues.apache.org/jira/browse/SPARK-31760
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Yuming Wang
>            Priority: Major
>              Labels: starter
>
> https://docs.teradata.com/reader/Ws7YT1jvRK2vEr1LpVURug/V~FCwD9BL7gY4ac3WwHInw



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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