Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
val mydataframe = ... //put some data in your dataframe, friend
mydataframe
.write
.option("orc.compress", "snappy")
.mode(SaveMode.Append)
.orc("/this/is/an/hdfs/directory/")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.