airborne12 opened a new pull request, #61244:
URL: https://github.com/apache/doris/pull/61244
### What problem does this PR solve?
Related PR: #61092
Problem Summary:
Cherry-pick #61092 to branch-4.0.
In FULL OUTER JOIN queries, MATCH expressions in the SELECT list cannot be
pushed down as filters (this would violate join semantics by incorrectly
filtering rows). This PR enables MATCH expressions used as **projections** to
be pushed down as virtual columns on OlapScan, allowing the BE to evaluate them
via inverted index using the existing `fast_execute()` caching mechanism.
### Release note
Support MATCH expressions as projections pushed down to OlapScan as virtual
columns, enabling inverted index evaluation for MATCH in contexts where it
cannot be pushed as a filter (e.g., FULL OUTER JOIN).
### Check List (For Author)
- Test
- [x] Regression test
- [x] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- Behavior changed:
- [x] No.
- Does this need documentation?
- [x] No.
### 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]