Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

It's similar to the bug fixed in #13425, we should consider null object and wrap the CreateStruct with If to do null check.

This PR also improves the test framework to test the objects of Dataset[T] directly, instead of calling toDF and compare the rows.

How was this patch tested?

new test in DatasetAggregatorSuite

@cloud-fan
Copy link
Contributor Author

cc @yhuai @liancheng @clockfly

@SparkQA
Copy link

SparkQA commented Jun 8, 2016

Test build #60152 has finished for PR 13553 at commit 3471199.

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

@cloud-fan
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented Jun 12, 2016

Test build #60356 has finished for PR 13553 at commit 3471199.

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

@hvanhovell
Copy link
Contributor

LGTM - merging to master/2.0

asfgit pushed a commit that referenced this pull request Jun 13, 2016
## What changes were proposed in this pull request?

It's similar to the bug fixed in #13425, we should consider null object and wrap the `CreateStruct` with `If` to do null check.

This PR also improves the test framework to test the objects of `Dataset[T]` directly, instead of calling `toDF` and compare the rows.

## How was this patch tested?

new test in `DatasetAggregatorSuite`

Author: Wenchen Fan <[email protected]>

Closes #13553 from cloud-fan/agg-null.

(cherry picked from commit cd47e23)
Signed-off-by: Herman van Hovell <[email protected]>
@asfgit asfgit closed this in cd47e23 Jun 13, 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