java.lang.UnsupportedOperationException: Cannot evaluate expression: count(1)

Stack Overflow | Satya | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    python+pyspark: error on inner join with multiple column comparison in pyspark

    Stack Overflow | 5 months ago | Satya
    java.lang.UnsupportedOperationException: Cannot evaluate expression: count(1)
  2. 0

    UnsupportedOperationException: Cannot evalute expression: .. when adding new column withColumn() and udf()

    Stack Overflow | 4 months ago | aks
    java.lang.UnsupportedOperationException: Cannot evaluate expression: parse_df_to_string(input[1, int, true], input[2, int, true], input[3, int, true], input[4, int, true], input[5, int, true])

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Cannot evaluate expression: count(1)

      at org.apache.spark.sql.catalyst.expressions.Unevaluable$class.doGenCode()
    2. Spark Project Catalyst
      Unevaluable$class.doGenCode
      1. org.apache.spark.sql.catalyst.expressions.Unevaluable$class.doGenCode(Expression.scala:224)
      1 frame