lyy-pineapple opened a new pull request, #6575:
URL: https://github.com/apache/incubator-gluten/pull/6575

   ## What changes were proposed in this pull request?
   
   Validate GenerateRel should attempt to compile the generator to avoid job 
failure when the generator is not supported and cannot fallback. For example, 
version 1.1.0 has the following error:
   sql:
   ```
   SELECT explode(slice(a, 2, 2)) from t
   ```
   
   ```
   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
   ```
   
   (Fixes: \#ISSUE-6574)
   
   ## How was this patch tested?
   
   through exist uts
   
   


-- 
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