Skip to content

Conversation

@dosoft
Copy link
Contributor

@dosoft dosoft commented Apr 28, 2016

What changes were proposed in this pull request?

(Please fill in changes proposed in this fix)

How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@HyukjinKwon
Copy link
Member

HyukjinKwon commented Apr 29, 2016

(@dosoft I think it would be great if the PR description is filled up.)

Copy link
Member

@HyukjinKwon HyukjinKwon Apr 29, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A space between ){. This will not pass Scala style test, +(See, scalastyle-config.xml#L230-L235).

if (!t.sameType(types.head)) {

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(FYI, if you run ./dev/run_tests (this triggers style checking first) or ./build/sbt scalastyle before submitting commits, this will shows up the comments I left)

rxin added a commit to rxin/spark that referenced this pull request May 20, 2016
[SPARK-14990][SQL] nvl, coalesce, array with parameter of type 'array'
@rxin
Copy link
Contributor

rxin commented May 20, 2016

FYI I created #13208

It fixed a bug in this code and added a test case.

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 <[email protected]>
Author: Oleg Danilov <[email protected]>

Closes #13208 from rxin/SPARK-14990.

(cherry picked from commit 3ba34d4)
Signed-off-by: Reynold Xin <[email protected]>
@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