I want to convert my json file to avro and vice versa but facing some difficulty. Can anyone please help me debugging this?
val df = spark.read.json(“path to the file”)
But I am getting the below error:
org.apache.spark.sql.AnalysisException: Failed to find data source: com.databricks.spark.avro.