BiteTheDDDDt opened a new pull request, #58729:
URL: https://github.com/apache/doris/pull/58729
### What problem does this PR solve?
Sometimes we don't need to calculate all_match_one (for example, when no
columns are materialized in probe_side_output_column)
```sql
SELECT /*+ LEADING({store_sales date_dim} item) */
any(iss.i_brand_id) brand_id
, any(iss.i_class_id) class_id
, any(iss.i_category_id) category_id
FROM
store_sales
, item iss
, date_dim d1
WHERE (ss_item_sk = iss.i_item_sk)
AND (ss_sold_date_sk = d1.d_date_sk)
AND (d1.d_year BETWEEN 1999 AND (1999 + 2));
```
before:
<img width="902" height="1092" alt="QQ_1764857385870"
src="https://github.com/user-attachments/assets/35524c81-889c-4905-b924-20745ad64bf6"
/>
after:
<img width="844" height="1042" alt="QQ_1764857396388"
src="https://github.com/user-attachments/assets/04bf2eb1-63b0-4b36-9497-4265fd25ec53"
/>
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
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]