Skip to content

Instantly share code, notes, and snippets.

@pierdom
Last active September 6, 2017 12:37
Show Gist options
  • Select an option

  • Save pierdom/d1ea481a534cfcd4359fd0797cd19ad0 to your computer and use it in GitHub Desktop.

Select an option

Save pierdom/d1ea481a534cfcd4359fd0797cd19ad0 to your computer and use it in GitHub Desktop.
[Persist/save Spark dataframe to a Hive table in ORC format] #hive #spark #bigdata
df.write.format("orc").saveAsTable("my_table_name")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment