GitHub user sameeragarwal opened a pull request: https://github.com/apache/spark/pull/11618
[SPARK-13789] Infer additional constraints from attribute equality ## What changes were proposed in this pull request? This PR adds support for inferring an additional set of data constraints based on attribute equality. For e.g., if an operator has constraints of the form (`a = 5`, `a = b`), we can now automatically infer an additional constraint of the form `b = 5` ## How was this patch tested? Tested that new constraints are properly inferred for filters (by adding a new test) and equi-joins (by modifying an existing test) You can merge this pull request into a Git repository by running: $ git pull https://github.com/sameeragarwal/spark infer-isequal-constraints Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/11618.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #11618 ---- commit 1149d200a712c339dd73f9038388ddcf9e66dad4 Author: Sameer Agarwal <sam...@databricks.com> Date: 2016-03-09T23:44:11Z Infer additional constraints from attribute equality ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org