airborne12 opened a new pull request, #69047:
URL: https://github.com/apache/doris/pull/69047

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #67538, #68643, #68501
   
   Problem Summary:
   
   The branch-4.2 `RegexGramRecallTest.DynamicPatternRegexExecution` test 
expects every RE2-rejected dynamic pattern to return an error. Dynamic REGEXP 
now falls back to Boost.Regex when `enable_extended_regex` is enabled. Boost 
accepts `timeout\Z`, `ab\hcdtimeout`, and `timeout(?=END)`, so BE UT build 
1066836 reports six assertion failures.
   
   Port the fallback-case expectations from the master gram test. The test now 
checks successful matches for Boost-valid patterns when extended regex is 
enabled and still checks rejection for invalid syntax such as `timeout\xZZ`. 
This changes one test file. It does not change regex execution or gram index 
behavior.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [ ] Unit Test: Not run locally. This isolated worktree has no BE UT 
binary. The PR's BE UT pipeline will run the changed test.
       - [ ] Manual test
       - [ ] No need to test or manual test
   - Validation completed:
       - [x] The fallback-case assertion block matches the master test exactly.
       - [x] `clang-format` 16 dry run and the full PR format preflight passed 
against `branch-4.2` at `ccb49f1f53df`.
       - [x] `git diff --check` and the full PR English description check 
passed.
   - Behavior changed:
       - [x] No. The PR changes only test expectations.
       - [ ] Yes.
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


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