Skip to content

Conversation

@924060929
Copy link
Contributor

cherry pick from #49166

…pache#49166)

### What problem does this PR solve?

Related PR: apache#33087

Problem Summary:

CSE should not extract ArrayItemSlot and ArrayItemReference. Because
they could not be computed out of Lambda expression.
NOTICE: currently, we could not extract common expression from Lambda,
because ArrayItemSlot in Lambda are not same.

(cherry picked from commit 9d4faa5)
@Thearas
Copy link
Contributor

Thearas commented Apr 10, 2025

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@924060929 924060929 changed the base branch from master to branch-3.0 April 10, 2025 05:22
@924060929
Copy link
Contributor Author

run buildall

@morrySnow morrySnow changed the title branch-3.0: [fix](Nereids) cse extract wrong expression from lambda expressions (#49166) branch-3.0: [fix](Nereids) cse extract wrong expression from lambda expressions #49166 Apr 10, 2025
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Apr 10, 2025
@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dataroaring dataroaring merged commit 962c009 into apache:branch-3.0 Apr 22, 2025
29 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants