Dongjoon Hyun created SPARK-55519:
-------------------------------------
Summary: `V2FunctionBenchmark` is broken
Key: SPARK-55519
URL: https://issues.apache.org/jira/browse/SPARK-55519
Project: Spark
Issue Type: Sub-task
Components: SQL, Tests
Affects Versions: 4.2.0
Reporter: Dongjoon Hyun
{code:java}
$ build/sbt "sql/Test/runMain
org.apache.spark.sql.connector.functions.V2FunctionBenchmark"
...
[info] running (fork)
org.apache.spark.sql.connector.functions.V2FunctionBenchmark
[info] Running benchmark: scalar function (long + long) -> long,
result_nullable = true codegen = true
[info] Running case: native_long_add[error] Exception in thread "main"
java.lang.NullPointerException: Cannot invoke
"org.apache.spark.sql.catalyst.expressions.NumericEvalContext.evalMode()"
because the return value of
"org.apache.spark.sql.catalyst.expressions.BinaryArithmetic.evalContext()" is
null
[error] at
org.apache.spark.sql.catalyst.expressions.BinaryArithmetic.evalMode(arithmetic.scala:201)
[error] at
org.apache.spark.sql.catalyst.expressions.BinaryArithmetic.failOnError(arithmetic.scala:209)
[error] at
org.apache.spark.sql.catalyst.expressions.BinaryArithmetic.initQueryContext(arithmetic.scala:251){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]