lyy-pineapple opened a new issue, #6574:
URL: https://github.com/apache/incubator-gluten/issues/6574

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   Validate GenerateRel did not attempt to compile the generator. If the 
generator is not supported, Spark SQL will not fallback to GenerateRel, which 
will result in job failure. 
   For example v1.1.1, sql:
   ```
   SELECT explode(slice(a, 2, 2)) from t
   ```
   spark job willl failed 
   ```
   Job aborted due to stage failure: Task 1 in stage 26.0 failed 4 times, most 
recent failure: Lost task 1.3 in stage 26.0 (TID 360) (xx executor 11): 
io.glutenproject.exception.GlutenException: java.lang.RuntimeException: 
Exception: VeloxUserError
   Error Source: USER
   Error Code: INVALID_ARGUMENT
   Reason: Scalar function slice not registered with arguments: 
(ARRAY<VARCHAR>, INTEGER, INTEGER). Found function registered with the 
following signatures:
   ((array(T),bigint,bigint) -> array(T))
   Retriable: False
   Function: compileRewrittenExpression
   File: 
/root/package/gluten/ep/build-velox/build/velox_ep/velox/expression/ExprCompiler.cpp
   Line: 468
   ```
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### 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]

Reply via email to