Last active
June 10, 2016 19:08
-
-
Save robenalt/4c28ef9bc7182825ac698c18af405066 to your computer and use it in GitHub Desktop.
1.3.0 pyspark read avro
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
# pyspark --packages com.databricks:spark-avro_2.10:1.0.0 | |
# read avro files from 1.3.0 spark | |
df = sqlCtx.load("/path/to/my_avro", "com.databricks.spark.avro") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment