GitHub user ueshin opened a pull request:
https://github.com/apache/spark/pull/21713
[SPARK-24737][SQL] Type coercion between StructTypes.
## What changes were proposed in this pull request?
We can support type coercion between `StructType`s where all the internal
types are compatible.
## How was this patch tested?
Added tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ueshin/apache-spark
issues/SPARK-24737/structtypecoercion
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21713.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 #21713
----
commit 5b9b9013826d126b8d7ce986515f395d147acb91
Author: Takuya UESHIN <ueshin@...>
Date: 2018-07-04T08:25:50Z
Type coercion between StructTypes.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]