java.lang.NullPointerException

Stack Overflow | Avi | 6 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

    Trying to execute a spark sql query from a UDF

    Stack Overflow | 6 months ago | Avi
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId()
    2. Spark Project SQL
      DataFrame.foreach
      1. org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:41)
      2. org.apache.spark.sql.DataFrame.withNewExecutionId(DataFrame.scala:2086)
      3. org.apache.spark.sql.DataFrame.foreach(DataFrame.scala:1434)
      3 frames