zhangstar333 opened a new pull request, #34292:
URL: https://github.com/apache/doris/pull/34292
## Proposed changes
```
mysql [test_query_qa]>select k7 from baseall where (k7 regexp
'[0]^[0-9]+.{0,1}[0-9]+$') = 1;
ERROR 1105 (HY000): errCode = 2, detailMessage =
(10.16.10.8)[CANCELLED][CANCELLED]UDF ERROR: hs_compile regex pattern error
```
before this sql exectue failed, as the hyperscan report error: Embedded
start anchors not supported.
But it's should be fallback to re2, when hyperscan failed, and this sql
should be running normal.
```
mysql [test_query_qa]>select k7 from baseall where (k7 regexp
'[0]^[0-9]+.{0,1}[0-9]+$') = 1;
Empty set (0.05 sec)
```
Issue Number: close #xxx
<!--Describe your changes.-->
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
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]