orbigtuna opened a new issue, #8319:
URL: https://github.com/apache/incubator-gluten/issues/8319
### Backend
VL (Velox)
### Bug description
[main] INFO org.apache.spark.sql.execution.GlutenFallbackReporter -
Validation failed for plan: Filter[QueryId=2], due to: Native validation failed:
Validation failed due to exception caught at
file:SubstraitToVeloxPlanValidator.cc line:1305 function:validate, thrown from
file:ExprCompiler.cpp line:462 function:compileRewrittenExpression,
reason:Scalar function name not registered: format_datetime, called with
arguments: (TIMESTAMP, VARCHAR)..
[main] INFO org.apache.spark.sql.execution.GlutenFallbackReporter -
Validation failed for plan: Project[QueryId=2], due to: Native validation
failed:
Validation failed due to exception caught at
file:SubstraitToVeloxPlanValidator.cc line:1305 function:validate, thrown from
file:ExprCompiler.cpp line:462 function:compileRewrittenExpression,
reason:Scalar function name not registered: format_datetime, called with
arguments: (TIMESTAMP, VARCHAR)..
[main] INFO
org.apache.spark.sql.catalyst.expressions.codegen.CodeGenerator - Code
generated in 43.202242 ms
when submit spark application using
gluten-velox-bundle-spark3.5_2.12-centos_7_x86_64-1.2.1.jar then rollback
appear this error
can register this function format_datetime.this function is usefully
### Spark version
Spark-3.5.x
### Spark configurations
"spark.plugins"= "org.apache.gluten.GlutenPlugin",
"spark.memory.offHeap.enabled"="true",
"spark.memory.offHeap.size"="6g",
"spark.shuffle.manager"="org.apache.spark.shuffle.sort.ColumnarShuffleManager"
### System information
CentOS Linux release 7.9.2009 (Core)
### Relevant logs
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]