Skip to content

Conversation

@CodingCat
Copy link
Contributor

What changes were proposed in this pull request?

The PR tries to fix SPARK-18058 which refers to a bug that the column types are compared with the extra care about Nullability in Union and SetOperation.

This PR converts the columns types by setting all fields as nullable before comparison

How was this patch tested?

regular unit test cases

@CodingCat CodingCat changed the title [SPARK-18058][SQL] [BACKPORT-2.0]Comparing column types ignoring Nullability in Union and SetOperation [SPARK-18058][SQL] [BRANCH-2.0]Comparing column types ignoring Nullability in Union and SetOperation Oct 23, 2016
@hvanhovell
Copy link
Contributor

LGTM - pending jenkins.

@SparkQA
Copy link

SparkQA commented Oct 23, 2016

Test build #67419 has finished for PR 15602 at commit e0d806a.

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

asfgit pushed a commit that referenced this pull request Oct 23, 2016
…ility in Union and SetOperation

## What changes were proposed in this pull request?

The PR tries to fix [SPARK-18058](https://issues.apache.org/jira/browse/SPARK-18058) which refers to a bug that the column types are compared with the extra care about Nullability in Union and SetOperation.

This PR converts the columns types by setting all fields as nullable before comparison

## How was this patch tested?

regular unit test cases

Author: CodingCat <[email protected]>

Closes #15602 from CodingCat/branch-2.0.
@hvanhovell
Copy link
Contributor

Merging to branch-2.0. Thanks! Can you close this PR?

@CodingCat CodingCat closed this Oct 23, 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.

3 participants