[GitHub] spark pull request #17201: [SPARK-18055][SQL] Use correct mirror in Expresio...

2017-03-08 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/spark/pull/17201


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request #17201: [SPARK-18055][SQL] Use correct mirror in Expresio...

2017-03-07 Thread marmbrus
GitHub user marmbrus opened a pull request:

https://github.com/apache/spark/pull/17201

[SPARK-18055][SQL] Use correct mirror in ExpresionEncoder

Previously, we were using the mirror of passed in `TypeTag` when reflecting 
to build an encoder.  This fails when the outer class is built in (i.e. `Seq`'s 
default mirror is based on root classloader) but inner classes (i.e. `A` in 
`Seq[A]`) are defined in the REPL or a library.

This patch changes us to always reflect based on a mirror created using the 
context classloader.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/marmbrus/spark replSeqEncoder

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/spark/pull/17201.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 #17201


commit 3af20fd72671d66f4f46786ce65f037565cc7b99
Author: Michael Armbrust 
Date:   2017-03-08T01:53:43Z

[SPARK-18055][SQL] Use correct mirror in ExpresionEncoder




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org