GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/19874
[SPARK-22675] [SQL] Refactoring PropagateTypes in TypeCoercion
## What changes were proposed in this pull request?
PropagateTypes are called twice in TypeCoercion. We do not need to call it
twice. Instead, we should call it after each change on the types.
## How was this patch tested?
The existing tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark deduplicatePropagateTypes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19874.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 #19874
----
commit fc3a24e039c905fdd263d2ece2088ce152887fc7
Author: gatorsmile <[email protected]>
Date: 2017-12-03T05:55:00Z
clean
commit 657cf88bbf4259d1a823f93f16eaccc2fbe78667
Author: gatorsmile <[email protected]>
Date: 2017-12-04T07:40:26Z
refactor
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]