GitHub user mathieulongtin opened a pull request:

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

    [SPARK-13266][PYSPARK] None read/writer options were not transalated to 
"null"

    ## What changes were proposed in this pull request?
    
    In Python, the `option` and `options` method of `DataFrameReader` and 
`DataFrameWriter` were sending the string `"None"` instead of null when passed 
`None`, therefore making it impossible to send an actual `null`. This fixes 
that problem.
    
    ## How was the this patch tested?
    
    Hand tested with com.databricks.spark.csv.
    
    
    


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

    $ git pull https://github.com/mathieulongtin/spark master

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

    https://github.com/apache/spark/pull/11305.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 #11305
    
----
commit 2a9b6ae190c378dbbd4c0f8a929518dfd4349d1b
Author: mathieu longtin <[email protected]>
Date:   2016-02-22T16:42:18Z

    fix for https://issues.apache.org/jira/browse/SPARK-13266

----


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

Reply via email to