Created
April 9, 2016 19:30
-
-
Save MrPowers/dc0f6a06245c411cbdc2627e82d2d39d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df.coalesce(1).write | |
.format("com.databricks.spark.csv") | |
.option("header", "true") | |
.save("s3n://some_bucket/data/states/all_states/") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment