Skip to content

Minor: avoid a copy in Expr::unalias - #8588

Merged
viirya merged 1 commit into
apache:mainfrom
alamb:alamb/less_alias_copy
Dec 19, 2023
Merged

Minor: avoid a copy in Expr::unalias#8588
viirya merged 1 commit into
apache:mainfrom
alamb:alamb/less_alias_copy

Conversation

@alamb

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

N/A

Rationale for this change

While reviewing the excellent PR from #7942 I noticed we can avoid a (deep) copy in the Expr::unalias code without an API change

What changes are included in this PR?

Avoid a copy in Expr::unalias

Are these changes tested?

exisiting tests

Are there any user-facing changes?

No

@github-actionsgithub-actionsBot added the logical-expr Logical plan and expressions label Dec 19, 2023
@alambalamb mentioned this pull request Dec 19, 2023
@viirya
viirya merged commit b456cf7 into apache:mainDec 19, 2023
@viirya

Copy link
Copy Markdown
Member

Thank you @alamb

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-exprLogical plan and expressions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@alamb@viirya