Using DataFrame to Read Avro files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using DataFrame to Read Avro files

VenkateshDurai
While using Spark 2.4.7 to read avro file getting below error.
java.lang.NoClassDefFoundError:
org/apache/spark/sql/connector/catalog/TableProvider
  at java.lang.ClassLoader.defineClass1(Native Method)

Code
val dataDF= spark.read.format("avro").load("E:\\Avro\\12.avro")

Please provide pre-requested configurations.




--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]