org.apache.spark.sql.AnalysisException: undefined function GREPL; line 4 pos 41

Stack Overflow | Matt Pollock | 6 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

    is it possible to use native R code or other R package functions with sparklyr?

    Stack Overflow | 6 months ago | Matt Pollock
    org.apache.spark.sql.AnalysisException: undefined function GREPL; line 4 pos 41

    Root Cause Analysis

    1. org.apache.spark.sql.AnalysisException

      undefined function GREPL; line 4 pos 41

      at org.apache.spark.sql.hive.HiveFunctionRegistry$$anonfun$lookupFunction$2$$anonfun$1.apply()
    2. Spark Project Hive
      HiveFunctionRegistry$$anonfun$lookupFunction$2$$anonfun$1.apply
      1. org.apache.spark.sql.hive.HiveFunctionRegistry$$anonfun$lookupFunction$2$$anonfun$1.apply(hiveUDFs.scala:69)
      2. org.apache.spark.sql.hive.HiveFunctionRegistry$$anonfun$lookupFunction$2$$anonfun$1.apply(hiveUDFs.scala:69)
      2 frames
    3. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:120)
      1 frame
    4. Spark Project Hive
      HiveFunctionRegistry$$anonfun$lookupFunction$2.apply
      1. org.apache.spark.sql.hive.HiveFunctionRegistry$$anonfun$lookupFunction$2.apply(hiveUDFs.scala:68)
      2. org.apache.spark.sql.hive.HiveFunctionRegistry$$anonfun$lookupFunction$2.apply(hiveUDFs.scala:64)
      2 frames
    5. Scala
      Try.getOrElse
      1. scala.util.Try.getOrElse(Try.scala:77)
      1 frame
    6. Spark Project Hive
      HiveFunctionRegistry.lookupFunction
      1. org.apache.spark.sql.hive.HiveFunctionRegistry.lookupFunction(hiveUDFs.scala:64)
      1 frame
    7. Spark Project Catalyst
      Analyzer$ResolveFunctions$$anonfun$apply$12$$anonfun$applyOrElse$5$$anonfun$applyOrElse$24.apply
      1. org.apache.spark.sql.catalyst.analysis.Analyzer$ResolveFunctions$$anonfun$apply$12$$anonfun$applyOrElse$5$$anonfun$applyOrElse$24.apply(Analyzer.scala:574)
      1 frame