Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented May 20, 2016

What changes were proposed in this pull request?

This patch fixes a bug in TypeUtils.checkForSameTypeInputExpr. Previously the code was testing on strict equality, which does not taking nullability into account.

This is based on #12768. This patch fixed a bug there (with empty expression) and added a test case.

How was this patch tested?

Added a new test suite and test case.

Closes #12768.

@rxin
Copy link
Contributor Author

rxin commented May 20, 2016

cc @dosoft

@rxin
Copy link
Contributor Author

rxin commented May 20, 2016

cc @yhuai for review

@SparkQA
Copy link

SparkQA commented May 20, 2016

Test build #58927 has finished for PR 13208 at commit 2ad10ee.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan
Copy link
Contributor

LGTM

@rxin
Copy link
Contributor Author

rxin commented May 20, 2016

Merging in master/2.0.

asfgit pushed a commit that referenced this pull request May 20, 2016
## What changes were proposed in this pull request?
This patch fixes a bug in TypeUtils.checkForSameTypeInputExpr. Previously the code was testing on strict equality, which does not taking nullability into account.

This is based on #12768. This patch fixed a bug there (with empty expression) and added a test case.

## How was this patch tested?
Added a new test suite and test case.

Closes #12768.

Author: Reynold Xin <rxin@databricks.com>
Author: Oleg Danilov <oleg.danilov@wandisco.com>

Closes #13208 from rxin/SPARK-14990.

(cherry picked from commit 3ba34d4)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@asfgit asfgit closed this in 3ba34d4 May 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants