Hi
I am getting the following error while trying to import the package
org.apache.spark.sql.avro.functions._ in the scala shell:

scala> import org.apache.spark.sql.avro.functions._
<console>:23: error: object functions is not a member of package
org.apache.spark.sql.avro
import org.apache.spark.sql.avro.functions._

and i have invoked the spark-shell with the following command:

# spark-shell --packages
org.apache.spark:spark-sql-kafka-0-10_2.11:2.3.0,org.apache.spark:spark-streaming-kafka-0-10_2.11:2.3.0,com.databricks:spark-avro_2.11:4.0.0,org.apache.spark:spark-avro_2.11:2.4.0

Which package i have to passed as a parameter along with spark shell ? I am
trying to implement few examples from here
https://docs.databricks.com/spark/latest/structured-streaming/avro-dataframe.html

Regards



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

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to