Top "Spark-avro" questions

A library for reading and writing Avro data from Spark SQL.

create hive external table with schema in spark

I am using spark 1.6 and I aim to create external hive table like what I do in hive script. To …

apache-spark hive apache-spark-sql spark-avro
How to create an empty dataFrame in Spark

I have a set of Avro based hive tables and I need to read data from them. As Spark-SQL uses …

scala apache-spark apache-spark-sql avro spark-avro
Spark reading Avro file

I'm using com.databricks.spark.avro. When I run it from spark-shell like so: spark-shell --jar spark-avro_2.11-4.0.0.jar, I …

scala apache-spark avro spark-avro
Avro multiple record of same type in single schema

I like to use the same record type in an Avro schema multiple times. Consider this schema definition { "type": "record", "…

avro spark-avro
Spark DataFrame: How to specify schema when writing as Avro

I want to write a DataFrame in Avro format using a provided Avro schema rather than Spark's auto-generated schema. How …

apache-spark spark-dataframe spark-avro