spark-avro icon indicating copy to clipboard operation
spark-avro copied to clipboard

Getting schema name from Avro file

Open dmateusp opened this issue 7 years ago • 0 comments

I want to get the schema name from an Avro file in the case that the schema is written in the header.

That information seems to be lost in the conversion from Schema -> StructType

My use case:

  • I want to insert my Avro data in different Data Warehouse tables depending on the Avro schema name

dmateusp avatar Jan 15 '18 11:01 dmateusp