Xtpacz opened a new issue, #12282:
URL: https://github.com/apache/gluten/issues/12282
### Backend
VL (Velox)
### Bug description
### Description
#### Problem
When RLike / REGEXP with an RE2-incompatible pattern (e.g., \uXXXX Unicode
escapes) is used in a JOIN condition, Gluten crashes at runtime instead of
falling back to Spark:
```
org.apache.gluten.exception.GlutenException: VeloxUserError
Error Code: INVALID_ARGUMENT
Reason: invalid regular expression: invalid escape sequence: \u
Context: rlike(node_value-stream:0_1, ^[\u4e00-\u9fa5]{2,10}[0-9]+$:VARCHAR)
Function: checkForBadPattern
File: velox/functions/lib/Re2Functions.cpp
Line: 25
```
### Gluten version
main branch
### Spark version
Spark-3.3.x
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
```bash
```
--
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]