[
https://issues.apache.org/jira/browse/SPARK-21990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165639#comment-16165639
]
Liang-Chi Hsieh commented on SPARK-21990:
-----------------------------------------
After inspecting it, because {{InferFiltersFromConstraints}} will construct new
{{Filter}} from inferred constraints and {{c > 1}} will be inferred in the new
{{Filter}}, this should be safe. I resolved this as not a problem.
> 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]