You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "yikf (via GitHub)" <gi...@apache.org> on 2026/08/05 06:47:53 UTC
[I] [VL] Support regexp_instr function [gluten]
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: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] [VL] Support regexp_instr function [gluten]
Posted by "zhztheplayer (via GitHub)" <gi...@apache.org>.
zhztheplayer closed issue #12696: [VL] Support regexp_instr function
URL: https://github.com/apache/gluten/issues/12696
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org