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

Liang-Chi Hsieh updated SPARK-21990:
------------------------------------
    Description: 
When I inspected the latest change of SPARK-21979, I found we could miss few 
constraints that can be recursively inferred.

E.g. consider constraints {{a === b && b === c && a > 1 && b > 5}}. Currently 
we only infer {{a === c && b > 1 && c > 5}}, but {{c > 1}} can be also inferred 
from newly inferred constraint {{a === c}}.

  was:
When I inspected the latest change of SPARK-21979, I found we could miss few 
constraints that can be recursively inferred.

E.g. consider constraints {{a === b && b === c && a === 1 && b === 5}}. 
Currently we only infer {{a === c && b === 1 && c === 5}}, but {{c === 1}} can 
be also inferred from newly inferred constraint {{a === c}}.


> QueryPlanConstraints misses some constraints that can be recursively inferred
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-21990
>                 URL: https://issues.apache.org/jira/browse/SPARK-21990
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Liang-Chi Hsieh
>
> When I inspected the latest change of SPARK-21979, I found we could miss few 
> constraints that can be recursively inferred.
> E.g. consider constraints {{a === b && b === c && a > 1 && b > 5}}. Currently 
> we only infer {{a === c && b > 1 && c > 5}}, but {{c > 1}} can be also 
> inferred from newly inferred constraint {{a === c}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to