Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor: Reduce clones in AnalyzerRule #5728

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Mar 24, 2023

Which issue does this PR close?

re #5705

Rationale for this change

The current signature of AnalyzerRule requires the LogicalPlan to be clone()ed.

@mingmwang says that was an oversight
#5705 (comment)

What changes are included in this PR?

Change signature to take owned LogicalPlan

Are these changes tested?

Existing tests

Are there any user-facing changes?

No

@alamb alamb added the api change Changes the API exposed to users of the crate label Mar 24, 2023
@github-actions github-actions bot added the optimizer Optimizer rules label Mar 24, 2023
Copy link
Member

@waynexia waynexia left a comment

Choose a reason for hiding this comment

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

Looks good, thanks 👍

@mingmwang
Copy link
Contributor

LGTM

@jackwener jackwener merged commit 55ad36a into apache:main Mar 27, 2023
@jackwener
Copy link
Member

thanks @alamb

@alamb alamb deleted the alamb/correct_analyze_signature branch March 28, 2023 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change Changes the API exposed to users of the crate optimizer Optimizer rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants