GitHub user aray opened a pull request:
https://github.com/apache/spark/pull/16161
[SPARK-18717][SQL] Make code generation for Scala Map work with
immutable.Map also
## What changes were proposed in this pull request?
Fixes compile errors in generated code when user has case class with a
`scala.collections.immutable.Map` instead of a `scala.collections.Map`. Since
ArrayBasedMapData.toScalaMap returns the immutable version we can make it work
with both.
## How was this patch tested?
Additional unit tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aray/spark fix-map-codegen
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16161.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 #16161
----
commit 3aa737160c27bfb8845a9d6c880451db88baaff2
Author: Andrew Ray <[email protected]>
Date: 2016-12-05T21:41:28Z
the fix
commit c0705094151ebefc7a43299bc6d07116a425aa35
Author: Andrew Ray <[email protected]>
Date: 2016-12-05T23:02:48Z
unit test
commit 699cc75f8e5d0d53225bd7a8003eed949a8250e0
Author: Andrew Ray <[email protected]>
Date: 2016-12-05T23:07:23Z
unused import
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]