Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine Spark I/O. #1667

Merged
merged 2 commits into from
Jul 21, 2020
Merged

Refine Spark I/O. #1667

merged 2 commits into from
Jul 21, 2020

Conversation

ueshin
Copy link
Collaborator

@ueshin ueshin commented Jul 21, 2020

Refine Spark I/O to:

  • Set partitionBy explicitly in to_parquet.
  • Add mode and partition_cols to to_csv and to_json.
  • Fix type hints to use Optional.

Resolves #1666.

@HyukjinKwon HyukjinKwon merged commit b1e33f1 into databricks:master Jul 21, 2020
@ueshin ueshin deleted the spark_io branch July 21, 2020 18:01
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.

df.to_parquet doesn't create partitions
2 participants