GitHub user sameeragarwal opened a pull request:
https://github.com/apache/spark/pull/11953
[SPARK-14137][SPARK-14150][SQL] Infer IsNotNull constraints from
non-nullable attributes
## What changes were proposed in this pull request?
This PR adds support for automatically inferring `IsNotNull` constraints
from any non-nullable attributes that are part of an operator's output. This
also fixes the issue that causes the optimizer to hit the maximum number of
iterations for certain queries in https://github.com/apache/spark/pull/11828.
## How was this patch tested?
Unit test in `ConstraintPropagationSuite`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sameeragarwal/spark infer-isnotnull
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11953.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 #11953
----
commit 4142fc49a6e3d324645c9c015734479e00a2e4f5
Author: Sameer Agarwal <[email protected]>
Date: 2016-03-25T06:18:54Z
Infer IsNotNull constraints from non-nullable attributes
commit b630c17fdb0aadfb54292ff26b1553d624c73a8c
Author: Sameer Agarwal <[email protected]>
Date: 2016-03-25T06:38:14Z
unit test
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]