java.lang.NullPointerException

Stack Overflow | Avi | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Trying to execute a spark sql query from a UDF

    Stack Overflow | 9 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