Uh oh!
There was an error while loading. Please reload this page.
[SPARK-13509][SPARK-13507][SQL] Support for writing CSV with a single function call - #11389
[SPARK-13509][SPARK-13507][SQL] Support for writing CSV with a single function call#11389HyukjinKwon wants to merge 9 commits into
Conversation
HyukjinKwon
commented
Feb 26, 2016
SparkQA
commented
Feb 26, 2016
Test build #52042 has finished for PR 11389 at commit
|
| * format("parquet").save(path) | ||
| * }}} | ||
| * | ||
| * You can set the following JSON-specific options for writing JSON files: |
There was a problem hiding this comment.
This looks like it's in the wrong place?
SparkQA
commented
Feb 26, 2016
Test build #52047 has finished for PR 11389 at commit
|
| * }}} | ||
| * | ||
| * You can set the following JSON-specific options for writing JSON files: | ||
| * <li>`compression` or `codec` (default `null`): compression codec to use when saving to file. |
There was a problem hiding this comment.
just say compression, and don't mention codec.
There was a problem hiding this comment.
actually i'd remove codec support from the underlying source code, and only keep it for csv as an undocumented option for backward compatibility.
HyukjinKwon
commented
Feb 29, 2016
@rxin Actually, do you think we need the |
rxin
commented
Feb 29, 2016
It'd be great to fix in a future pr. for this one, let's also fix python? |
HyukjinKwon
commented
Feb 29, 2016
@rxin Sure. |
SparkQA
commented
Feb 29, 2016
Test build #52151 has finished for PR 11389 at commit
|
rxin
commented
Feb 29, 2016
LGTM pending tests |
SparkQA
commented
Feb 29, 2016
Test build #52158 has finished for PR 11389 at commit
|
HyukjinKwon
commented
Feb 29, 2016
retest this please |
SparkQA
commented
Feb 29, 2016
Test build #52154 has finished for PR 11389 at commit
|
HyukjinKwon
commented
Feb 29, 2016
Hm... It looks a bit weird. I thought I wanted to submit a hot-fix but I found it actually works okay in my local. |
HyukjinKwon
commented
Feb 29, 2016
retest this please |
HyukjinKwon
commented
Feb 29, 2016
@yhuai Could I ask that you have any clue on this occasional failure?
|
SparkQA
commented
Feb 29, 2016
Test build #52160 has finished for PR 11389 at commit
|
HyukjinKwon
commented
Feb 29, 2016
As this passes sometimes (e.g. #11016), I will restart. |
HyukjinKwon
commented
Feb 29, 2016
retest this please |
SparkQA
commented
Feb 29, 2016
Test build #52161 has finished for PR 11389 at commit
|
SparkQA
commented
Feb 29, 2016
Test build #52163 has finished for PR 11389 at commit
|
SparkQA
commented
Feb 29, 2016
Test build #52167 has finished for PR 11389 at commit
|
SparkQA
commented
Feb 29, 2016
Test build #52175 has finished for PR 11389 at commit
|
SparkQA
commented
Feb 29, 2016
Test build #52176 has finished for PR 11389 at commit
|
HyukjinKwon
commented
Feb 29, 2016
I see that's a problem in new vecterizedreader. I missed the exception message. Looking deeper. |
HyukjinKwon
commented
Feb 29, 2016
@rxin Anyway, would you merge this if it looks good? |
rxin
commented
Feb 29, 2016
Thanks - merging this in master. |
… function call https://issues.apache.org/jira/browse/SPARK-13507https://issues.apache.org/jira/browse/SPARK-13509 ## What changes were proposed in this pull request? This PR adds the support to write CSV data directly by a single call to the given path. Several unitests were added for each functionality. ## How was this patch tested? This was tested with unittests and with `dev/run_tests` for coding style Author: hyukjinkwon <gurwls223@gmail.com> Author: Hyukjin Kwon <gurwls223@gmail.com> Closesapache#11389 from HyukjinKwon/SPARK-13507-13509.
https://issues.apache.org/jira/browse/SPARK-13507
https://issues.apache.org/jira/browse/SPARK-13509
What changes were proposed in this pull request?
This PR adds the support to write CSV data directly by a single call to the given path.
Several unitests were added for each functionality.
How was this patch tested?
This was tested with unittests and with
dev/run_testsfor coding style