You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by mathieulongtin <gi...@git.apache.org> on 2016/02/22 17:50:36 UTC

[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

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 <ma...@nuance.com>
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

Posted by mathieulongtin <gi...@git.apache.org>.
Github user mathieulongtin commented on the pull request:

    https://github.com/apache/spark/pull/11305#issuecomment-215995491
  
    Other patch got pulled, closing


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

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


[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

Posted by mathieulongtin <gi...@git.apache.org>.
Github user mathieulongtin closed the pull request at:

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


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

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


[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

Posted by holdenk <gi...@git.apache.org>.
Github user holdenk commented on the pull request:

    https://github.com/apache/spark/pull/11305#issuecomment-211669156
  
    If no one else (e.g. @viirya ?) is interested in picking this up I certainly can continue from here and add some tests.


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

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


[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

Posted by rxin <gi...@git.apache.org>.
Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/11305#issuecomment-187586646
  
    OK maybe somebody else can take over with test coverage. Any takers?
    
    cc @viirya @gatorsmile 


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

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


[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

Posted by JoshRosen <gi...@git.apache.org>.
Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/11305#issuecomment-187273825
  
    This seems regression-testable. Mind adding a test case?


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

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


[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

Posted by mathieulongtin <gi...@git.apache.org>.
Github user mathieulongtin commented on the pull request:

    https://github.com/apache/spark/pull/11305#issuecomment-187323930
  
    Sorry but I already spent enough time tracking and fixing this bug


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

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


[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

Posted by rxin <gi...@git.apache.org>.
Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/11305#issuecomment-215924322
  
    @mathieulongtin mind closing this now the other patch is merged?



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

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


[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

Posted by gatorsmile <gi...@git.apache.org>.
Github user gatorsmile commented on the pull request:

    https://github.com/apache/spark/pull/11305#issuecomment-212901491
  
    me 2. I did not get this notification too. : )


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

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


[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

Posted by viirya <gi...@git.apache.org>.
Github user viirya commented on the pull request:

    https://github.com/apache/spark/pull/11305#issuecomment-211670815
  
    @rxin @holdenk I must be missing last notification. I think I can do it today. Thanks.


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

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


[GitHub] spark pull request: [SPARK-13266][PYSPARK] None read/writer option...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/11305#issuecomment-187395020
  
    Can one of the admins verify this patch?


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

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