Skip to content

Instantly share code, notes, and snippets.

@Arnonrgo
Created August 9, 2015 06:46
Show Gist options
  • Save Arnonrgo/14278970f7a0b62fb2d0 to your computer and use it in GitHub Desktop.
Save Arnonrgo/14278970f7a0b62fb2d0 to your computer and use it in GitHub Desktop.
val inputPath = "../data/json"
val outputPath = "../data/parquet"
val data = sqlContext.read.json(inputPath)
date.write.parquet(outputPath)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment