Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Nov 28, 2023

Which issue does this PR close?

Part of #8348

Rationale for this change

I want to have ScalarUDF support aliases, and thus I want to have aliases handled as part of Expr::ScalarFunction rather than a free function. By refactoring BuiltInScalarFunction::alias it will make it easier to handle uniformly.

What changes are included in this PR?

  1. Make BuiltInScalarFunction::alias a function

Are these changes tested?

Covered by existing tests

Are there any user-facing changes?

@github-actions github-actions bot added the logical-expr Logical plan and expressions label Nov 28, 2023
Copy link
Contributor Author

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Using whitespace blind diff shows the actual changes to this PR much better in my opinion: https://github.com/apache/arrow-datafusion/pull/8349/files?w=1

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

Labels

logical-expr Logical plan and expressions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants