spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shyam P <shyamabigd...@gmail.com>
Subject Re: Even after VO fields are mapped using @Table and @Column annotations get error NoSuchElementException
Date Wed, 04 Sep 2019 18:41:01 GMT
Now I am getting different error as below :

com.datastax.spark.connector.types.TypeConversionException: Cannot convert
object [] of type class
org.apache.spark.sql.catalyst.expressions.GenericRowWithSchema to
com.datastax.driver.core.LocalDate.
at
com.datastax.spark.connector.types.TypeConverter$$anonfun$convert$1.apply(TypeConverter.scala:43)
at
com.datastax.spark.connector.types.TypeConverter$LocalDateConverter$$anonfun$convertPF$23.applyOrElse(TypeConverter.scala:426)
at
com.datastax.spark.connector.types.TypeConverter$class.convert(TypeConverter.scala:41)

How to fix this ? any clue please

>

Mime
View raw message