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: avoid extra clone in datafusion-proto::physical_plan #8650

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

ongchi
Copy link
Contributor

@ongchi ongchi commented Dec 25, 2023

Which issue does this PR close?

Closes #.

Rationale for this change

As mention in: #7921 (comment)

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Arc::new(input_schema.try_into()?),
physical_schema,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Implicit clone in conversion function, could be replaced by a variable created before.

@andygrove andygrove merged commit bb99d2a into apache:main Dec 27, 2023
22 checks passed
@ongchi ongchi deleted the remove_redudant_clone branch January 1, 2024 09:26
appletreeisyellow pushed a commit to appletreeisyellow/datafusion that referenced this pull request Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants