You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the reader created as above, upon reading I see following error -
Job aborted due to stage failure: Task 0 in stage 1.0 failed 4 times, most recent failure: Lost task 0.3 in stage 1.0 (TID 53, 10.245.15.211, executor 8): java.lang.UnsupportedOperationException: Unexpected data type BooleanType
at com.springml.spark.salesforce.InferSchema$.inferField(InferSchema.scala:81)
at com.springml.spark.salesforce.InferSchema$.com$springml$spark$salesforce$InferSchema$$inferRowType(InferSchema.scala:47)
at com.springml.spark.salesforce.InferSchema$$anonfun$2.apply(InferSchema.scala:31)
at com.springml.spark.salesforce.InferSchema$$anonfun$2.apply(InferSchema.scala:31)
at scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:157)
at scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:157)
at scala.collection.Iterator$class.foreach(Iterator.scala:893)
at org.apache.spark.InterruptibleIterator.foreach(InterruptibleIterator.scala:28)
at scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:157)
It seems BooleanType is not supported during inferring schema. Is there a patch available, if this is not supported out of the box.
The text was updated successfully, but these errors were encountered:
With the reader created as above, upon reading I see following error -
Job aborted due to stage failure: Task 0 in stage 1.0 failed 4 times, most recent failure: Lost task 0.3 in stage 1.0 (TID 53, 10.245.15.211, executor 8): java.lang.UnsupportedOperationException: Unexpected data type BooleanType
at com.springml.spark.salesforce.InferSchema$.inferField(InferSchema.scala:81)
at com.springml.spark.salesforce.InferSchema$.com$springml$spark$salesforce$InferSchema$$inferRowType(InferSchema.scala:47)
at com.springml.spark.salesforce.InferSchema$$anonfun$2.apply(InferSchema.scala:31)
at com.springml.spark.salesforce.InferSchema$$anonfun$2.apply(InferSchema.scala:31)
at scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:157)
at scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:157)
at scala.collection.Iterator$class.foreach(Iterator.scala:893)
at org.apache.spark.InterruptibleIterator.foreach(InterruptibleIterator.scala:28)
at scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:157)
It seems BooleanType is not supported during inferring schema. Is there a patch available, if this is not supported out of the box.
The text was updated successfully, but these errors were encountered: