diff options
author | hyukjinkwon <gurwls223@gmail.com> | 2016-02-29 09:44:29 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-02-29 09:44:29 -0800 |
commit | 02aa499dfb71bc9571bebb79e6383842e4f48143 (patch) | |
tree | ae7b44767db0fb5b7c19a03c0de05aa4909c4b8e /python/test_support/sql/ages.csv | |
parent | 916fc34f98dd731f607d9b3ed657bad6cc30df2c (diff) | |
download | spark-02aa499dfb71bc9571bebb79e6383842e4f48143.tar.gz spark-02aa499dfb71bc9571bebb79e6383842e4f48143.tar.bz2 spark-02aa499dfb71bc9571bebb79e6383842e4f48143.zip |
[SPARK-13509][SPARK-13507][SQL] Support for writing CSV with a single function call
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_tests` for coding style
Author: hyukjinkwon <gurwls223@gmail.com>
Author: Hyukjin Kwon <gurwls223@gmail.com>
Closes #11389 from HyukjinKwon/SPARK-13507-13509.
Diffstat (limited to 'python/test_support/sql/ages.csv')
-rw-r--r-- | python/test_support/sql/ages.csv | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/test_support/sql/ages.csv b/python/test_support/sql/ages.csv new file mode 100644 index 0000000000..18991feda7 --- /dev/null +++ b/python/test_support/sql/ages.csv @@ -0,0 +1,4 @@ +Joe,20 +Tom,30 +Hyukjin,25 + |