[SPARK-13638][SQL] Add quoteAll option to CSV DataFrameWriter#13374
[SPARK-13638][SQL] Add quoteAll option to CSV DataFrameWriter#13374jurriaan wants to merge 1 commit intoapache:masterfrom
Conversation
|
Test build #3031 has finished for PR 13374 at commit
|
There was a problem hiding this comment.
Shouldn't we remove this one?
|
Rebased, ping @rxin @HyukjinKwon |
There was a problem hiding this comment.
It seems escapeAll and quoteAll are mixed (across the updated files)..
fd07fdf to
492391d
Compare
|
@jurriaan should this be called quoteAll rather than escapeAll? |
|
I thought it should be named in line with the escapeQuotes method, but what it's doing is more like quoting all values then escaping all. So i guess that name could make sense after all |
|
Yup... would be great if you can update this. Otherwise LGTM. |
|
@rxin Sorry for the confusion, fixed it :) |
|
Test build #3171 has finished for PR 13374 at commit
|
|
Merging in master/2.0. Thanks. |
## What changes were proposed in this pull request? Adds an quoteAll option for writing CSV which will quote all fields. See https://issues.apache.org/jira/browse/SPARK-13638 ## How was this patch tested? Added a test to verify the output columns are quoted for all fields in the Dataframe Author: Jurriaan Pruis <email@jurriaanpruis.nl> Closes #13374 from jurriaan/csv-quote-all. (cherry picked from commit 38cf8f2) Signed-off-by: Reynold Xin <rxin@databricks.com>
|
Test build #3172 has finished for PR 13374 at commit
|
What changes were proposed in this pull request?
Adds an quoteAll option for writing CSV which will quote all fields.
See https://issues.apache.org/jira/browse/SPARK-13638
How was this patch tested?
Added a test to verify the output columns are quoted for all fields in the Dataframe