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

[SPARK-47471][SQL] Support order-insensitive lateral column alias #45598

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wangyum
Copy link
Member

@wangyum wangyum commented Mar 20, 2024

What changes were proposed in this pull request?

This PR makes it support order-insensitive lateral column alias. For example:

SELECT base_salary + bonus AS total_salary, salary AS base_salary
FROM employee

Why are the changes needed?

At least Teradata supports this case.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Unit test.

Was this patch authored or co-authored using generative AI tooling?

No.

@wangyum
Copy link
Member Author

wangyum commented Mar 20, 2024

cc @cloud-fan

@github-actions github-actions bot added the SQL label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant