You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by VenkateshDurai <ve...@gmail.com> on 2021/02/16 06:22:33 UTC
Using DataFrame to Read Avro files
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: user-unsubscribe@spark.apache.org