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
TimestampType (of class org.apache.spark.sql.catalyst.types.TimestampType$)
via GitHub by vtkarthika
, 2 years ago
StructType(List()) (of class org.apache.spark.sql.catalyst.types.StructType)
scala.MatchError: TimestampType (of class org.apache.spark.sql.catalyst.types.TimestampType$)	at org.apache.spark.sql.json.JsonRDD$.enforceCorrectType(JsonRDD.scala:348)	at org.apache.spark.sql.json.JsonRDD$$anonfun$org$apache$spark$sql$json$JsonRDD$$asRow$1$$anonfun$apply$12.apply(JsonRDD.scala:381)	at scala.Option.map(Option.scala:145)	at org.apache.spark.sql.json.JsonRDD$$anonfun$org$apache$spark$sql$json$JsonRDD$$asRow$1.apply(JsonRDD.scala:380)	at org.apache.spark.sql.json.JsonRDD$$anonfun$org$apache$spark$sql$json$JsonRDD$$asRow$1.apply(JsonRDD.scala:365)	at scala.collection.mutable.ArraySeq.foreach(ArraySeq.scala:73)	at org.apache.spark.sql.json.JsonRDD$.org$apache$spark$sql$json$JsonRDD$$asRow(JsonRDD.scala:365)	at org.apache.spark.sql.json.JsonRDD$$anonfun$jsonStringToRow$1.apply(JsonRDD.scala:38)	at org.apache.spark.sql.json.JsonRDD$$anonfun$jsonStringToRow$1.apply(JsonRDD.scala:38)	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)	at scala.collection.Iterator$class.foreach(Iterator.scala:727)	at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)	at scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:48)	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:103)	at scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:47)	at scala.collection.TraversableOnce$class.to(TraversableOnce.scala:273)	at scala.collection.AbstractIterator.to(Iterator.scala:1157)	at scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:265)	at scala.collection.AbstractIterator.toBuffer(Iterator.scala:1157)	at scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:252)	at scala.collection.AbstractIterator.toArray(Iterator.scala:1157)	at org.apache.spark.rdd.RDD$$anonfun$16.apply(RDD.scala:774)	at org.apache.spark.rdd.RDD$$anonfun$16.apply(RDD.scala:774)	at org.apache.spark.SparkContext$$anonfun$runJob$4.apply(SparkContext.scala:1121)	at org.apache.spark.SparkContext$$anonfun$runJob$4.apply(SparkContext.scala:1121)	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:180)	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:745)