spark-avro
spark-avro copied to clipboard
Getting schema name from Avro file
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