PHILO-HE opened a new issue, #5105:
URL: https://github.com/apache/incubator-gluten/issues/5105
### Backend
VL (Velox)
### Bug description
Reproducible test in Velox code.
```c++
diff --git a/velox/functions/sparksql/tests/RegexFunctionsTest.cpp
b/velox/functions/sparksql/tests/RegexFunctionsTest.cpp
index 35bd63bfb..96cdb06b2 100644
--- a/velox/functions/sparksql/tests/RegexFunctionsTest.cpp
+++ b/velox/functions/sparksql/tests/RegexFunctionsTest.cpp
@@ -320,8 +320,8 @@ TEST_F(RegexFunctionsTest,
regexpReplaceMatchSparkSqlTestSimple) {
}
TEST_F(RegexFunctionsTest, regexpReplaceWithEmptyString) {
- std::string output = "bc";
- auto result = testRegexpReplace("abc", "a", "");
+ std::string output = "1234a";
+ auto result = testRegexpReplace("1234\v", "\\s", "a");
EXPECT_EQ(result, output);
}
```
Ref.
https://github.com/google/re2j/issues/50
### Spark version
None
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
_No response_
--
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]