yikf opened a new issue, #12696:
URL: https://github.com/apache/gluten/issues/12696

   ### Description
   
   The Spark `regexp_instr` function is not offloaded by the Velox backend 
today, so queries using it fall back to vanilla Spark.
   
   Velox already registers the sparksql `regexp_instr(string, pattern)` 
function with Spark-compatible semantics (1-based char position of the first 
match, 0 if no match), so this only needs wiring on the Gluten side.
   
   **Note:**
   Spark's `RegExpInStr` exists since 3.4 and carries a third `idx` child, but 
evaluation ignores it (always returns the start of the whole match). Velox's 
`regexp_instr` is 2-arg, so the `idx` child should be dropped.
   
   ### Gluten version
   
   main branch


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