java.lang.UnsupportedOperationException: Cannot evaluate expression: scalar-subquery#62 []

github.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    getting the latest changes from apache/spark repo by skaarthik · Pull Request #1 · Microsoft/spark · GitHub

    github.com | 8 months ago
    java.lang.UnsupportedOperationException: Cannot evaluate expression: scalar-subquery#62 []

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Cannot evaluate expression: scalar-subquery#62 []

      at org.apache.spark.sql.catalyst.expressions.Unevaluable$class.eval()
    2. Spark Project Catalyst
      InterpretedProjection.apply
      1. org.apache.spark.sql.catalyst.expressions.Unevaluable$class.eval(Expression.scala:215)
      2. org.apache.spark.sql.catalyst.expressions.ScalarSubquery.eval(subquery.scala:62)
      3. org.apache.spark.sql.catalyst.expressions.Alias.eval(namedExpressions.scala:142)
      4. org.apache.spark.sql.catalyst.expressions.InterpretedProjection.apply(Projection.scala:45)
      5. org.apache.spark.sql.catalyst.expressions.InterpretedProjection.apply(Projection.scala:29)
      5 frames
    3. Scala
      List.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      3. scala.collection.immutable.List.foreach(List.scala:381)
      4. scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
      5. scala.collection.immutable.List.map(List.scala:285)
      5 frames
    4. Spark Project Catalyst
      ConvertToLocalRelation$$anonfun$apply$37.applyOrElse
      1. org.apache.spark.sql.catalyst.optimizer.ConvertToLocalRelation$$anonfun$apply$37.applyOrElse(Optimizer.scala:1473)
      1 frame