Re: Even after VO fields are mapped using @Table and @Column annotations get error NoSuchElementException

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

Re: Even after VO fields are mapped using @Table and @Column annotations get error NoSuchElementException

Shyam P
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Ā