You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2016/03/17 00:28:33 UTC
[jira] [Resolved] (SPARK-13869) Remove redundant conditions while
combining filters
[ https://issues.apache.org/jira/browse/SPARK-13869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yin Huai resolved SPARK-13869.
------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request 11670
[https://github.com/apache/spark/pull/11670]
> Remove redundant conditions while combining filters
> ---------------------------------------------------
>
> Key: SPARK-13869
> URL: https://issues.apache.org/jira/browse/SPARK-13869
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Sameer Agarwal
> Priority: Minor
> Fix For: 2.0.0
>
>
> We should modify the existing CombineFilters rule in catalyst to remove redundant conditions while combining individual filter predicates. For instance, queries of the form table.where('a === 1 && 'b === 1).where('a === 1 && 'c === 1) should be correctly optimized to table.where('a === 1 && 'b === 1 && 'c === 1) (instead of table.where('a === 1 && 'a === 1 && 'b === 1 && 'c === 1))
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org