Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via nabble.com by Unknown author, 1 year ago
ArrayType(StructType(List(StructField(date,StringType, true ), StructField(n_reachat,IntegerType, true ))),true) (of class org.apache.spark.sql.catalyst.types.ArrayType)
scala.MatchError: ArrayType(StructType(List(StructField(date,StringType, true ), StructField(n_reachat,IntegerType, true ))),true) (of class org.apache.spark.sql.catalyst.types.ArrayType) 	at org.apache.spark.sql.catalyst.expressions.Cast.cast$lzycompute(Cast.scala:247)	at org.apache.spark.sql.catalyst.expressions.Cast.cast(Cast.scala:247)	at org.apache.spark.sql.catalyst.expressions.Cast.eval(Cast.scala:263)	at org.apache.spark.sql.catalyst.expressions.Alias.eval(namedExpressions.scala:84)	at org.apache.spark.sql.catalyst.expressions.InterpretedMutableProjection.apply(Projection.scala:66)	at org.apache.spark.sql.catalyst.expressions.InterpretedMutableProjection.apply(Projection.scala:50)	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)	at org.apache.spark.sql.hive.execution.InsertIntoHiveTable.org$apache$spark$sql$hive$execution$InsertIntoHiveTable$$writeToFile$1(InsertIntoHiveTable.scala:149)	at org.apache.spark.sql.hive.execution.InsertIntoHiveTable$$anonfun$saveAsHiveFile$1.apply(InsertIntoHiveTable.scala:158)	at org.apache.spark.sql.hive.execution.InsertIntoHiveTable$$anonfun$saveAsHiveFile$1.apply(InsertIntoHiveTable.scala:158)	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:62)	at org.apache.spark.scheduler.Task.run(Task.scala:54)	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:177)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:744)