Skip to content

Minor: avoid extra clone in datafusion-proto::physical_plan - #8650

Merged
andygrove merged 1 commit into
apache:mainfrom
ongchi:remove_redudant_clone
Dec 27, 2023
Merged

Minor: avoid extra clone in datafusion-proto::physical_plan#8650
andygrove merged 1 commit into
apache:mainfrom
ongchi:remove_redudant_clone

Conversation

@ongchi

@ongchi ongchi commented Dec 25, 2023

Copy link
Copy Markdown
Contributor

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?

physical_filter_expr,
input,
Arc::new(input_schema.try_into()?),
physical_schema,

Copy link
Copy Markdown
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
@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