GitHub user ueshin opened a pull request:

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

    [SPARK-2969][SQL] Make ScalaReflection be able to handle 
MapType.containsNull and MapType.valueContainsNull.

    Make `ScalaReflection` be able to handle like:
    
    - `Seq[Int]` as `ArrayType(IntegerType, containsNull = false)`
    - `Seq[java.lang.Integer]` as `ArrayType(IntegerType, containsNull = true)`
    - `Map[Int, Long]` as `MapType(IntegerType, LongType, valueContainsNull = 
false)`
    - `Map[Int, java.lang.Long]` as `MapType(IntegerType, LongType, 
valueContainsNull = true)`

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

    $ git pull https://github.com/ueshin/apache-spark issues/SPARK-2969

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

    https://github.com/apache/spark/pull/1889.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 #1889
    
----
commit 1a9a96bf752dc33d19cb3654e05bc35c28b9ae08
Author: Takuya UESHIN <ues...@happy-camper.st>
Date:   2014-08-11T10:46:24Z

    Modify ScalaReflection to handle ArrayType.containsNull and 
MapType.valueContainsNull.

----


---
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

Reply via email to