Skip to content

Conversation

@davies
Copy link
Contributor

@davies davies commented Jun 28, 2016

What changes were proposed in this pull request?

There are some duplicated code for options in DataFrame reader/writer API, this PR clean them up, it also fix a bug for escapeQuotes of csv().

How was this patch tested?

Existing tests.

@davies
Copy link
Contributor Author

davies commented Jun 28, 2016

cc @rxin

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61392 has started for PR 13948 at commit c3142b1.

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61394 has started for PR 13948 at commit 2e7b6b9.

@shaneknapp
Copy link
Contributor

jenkins, test this please

@felixcheung
Copy link
Member

looks good!

@SparkQA
Copy link

SparkQA commented Jun 28, 2016

Test build #61396 has finished for PR 13948 at commit 2e7b6b9.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class OptionUtils(object):
    • class DataFrameReader(OptionUtils):
    • class DataFrameWriter(OptionUtils):
    • class DataStreamReader(OptionUtils):

@rxin
Copy link
Contributor

rxin commented Jun 28, 2016

LGTM - merging in master. Thanks!

@zsxwing
Copy link
Member

zsxwing commented Jun 29, 2016

@rxin why don't we merge this one to 2.0?

@rxin
Copy link
Contributor

rxin commented Jun 29, 2016

Feel free to do it - but please take another careful look before you cherry pick.

asfgit pushed a commit that referenced this pull request Jun 29, 2016
## What changes were proposed in this pull request?

There are some duplicated code for options in DataFrame reader/writer API, this PR clean them up, it also fix a bug for `escapeQuotes` of csv().

## How was this patch tested?

Existing tests.

Author: Davies Liu <davies@databricks.com>

Closes #13948 from davies/csv_options.
@zsxwing
Copy link
Member

zsxwing commented Jun 29, 2016

Merged to 2.0 as well.

asfgit pushed a commit that referenced this pull request Jun 29, 2016
## What changes were proposed in this pull request?

This PR corrects ORC compression option for PySpark as well. I think this was missed mistakenly in #13948.

## How was this patch tested?

N/A

Author: hyukjinkwon <gurwls223@gmail.com>

Closes #13963 from HyukjinKwon/minor-orc-compress.

(cherry picked from commit d8a87a3)
Signed-off-by: Davies Liu <davies.liu@gmail.com>
asfgit pushed a commit that referenced this pull request Jun 29, 2016
## What changes were proposed in this pull request?

This PR corrects ORC compression option for PySpark as well. I think this was missed mistakenly in #13948.

## How was this patch tested?

N/A

Author: hyukjinkwon <gurwls223@gmail.com>

Closes #13963 from HyukjinKwon/minor-orc-compress.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants