GitHub user ueshin opened a pull request:
https://github.com/apache/spark/pull/21703
[SPARK-24732][SQL] Type coercion between MapTypes.
## What changes were proposed in this pull request?
Currently we don't allow type coercion between maps.
We can support type coercion between MapTypes where both the key types and
the value 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-24732/maptypecoercion
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21703.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 #21703
----
commit 928501a63f2ae90b4d95949e6fc505b762d03ac7
Author: Takuya UESHIN <ueshin@...>
Date: 2018-07-03T08:08:25Z
Type coercion between MapTypes.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]