diff options
author | Liang-Chi Hsieh <simonh@tw.ibm.com> | 2016-04-22 09:19:36 -0700 |
---|---|---|
committer | Davies Liu <davies.liu@gmail.com> | 2016-04-22 09:19:36 -0700 |
commit | 056883e070bd258d193fd4d783ab608a19b86c36 (patch) | |
tree | 7072659655b15b2ed60c809efcd7af5c2b002e88 /repl | |
parent | 5bed13a872dc06d099c810cf4caa15b4f27a1e7c (diff) | |
download | spark-056883e070bd258d193fd4d783ab608a19b86c36.tar.gz spark-056883e070bd258d193fd4d783ab608a19b86c36.tar.bz2 spark-056883e070bd258d193fd4d783ab608a19b86c36.zip |
[SPARK-13266] [SQL] 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.
This is based on #11305 from mathieulongtin.
## How was this patch tested?
Added test to readwriter.py.
Author: Liang-Chi Hsieh <simonh@tw.ibm.com>
Author: mathieu longtin <mathieu.longtin@nuance.com>
Closes #12494 from viirya/py-df-none-option.
Diffstat (limited to 'repl')
0 files changed, 0 insertions, 0 deletions