Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

This is a followup of #39508 to fix a regression. We should not remove aliases from grouping expressions if they are not resolved, as the alias may be necessary for resolution, such as CreateNamedStruct.

Why are the changes needed?

fix a regression

Does this PR introduce any user-facing change?

no

How was this patch tested?

new test

@github-actions github-actions bot added the SQL label Feb 3, 2023
@cloud-fan
Copy link
Contributor Author

cc @viirya @anchovYu

@MaxGekk
Copy link
Member

MaxGekk commented Feb 3, 2023

+1, LGTM. Merging to master/3.4.
Thank you, @cloud-fan and @HyukjinKwon @viirya @gengliangwang for review.

@MaxGekk MaxGekk closed this in 02b39f0 Feb 3, 2023
MaxGekk pushed a commit that referenced this pull request Feb 3, 2023
…xpr is resolved

### What changes were proposed in this pull request?

This is a followup of #39508 to fix a regression. We should not remove aliases from grouping expressions if they are not resolved, as the alias may be necessary for resolution, such as `CreateNamedStruct`.

### Why are the changes needed?

fix a regression

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

new test

Closes #39867 from cloud-fan/column.

Lead-authored-by: Wenchen Fan <[email protected]>
Co-authored-by: Wenchen Fan <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
(cherry picked from commit 02b39f0)
Signed-off-by: Max Gekk <[email protected]>
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
…xpr is resolved

### What changes were proposed in this pull request?

This is a followup of apache#39508 to fix a regression. We should not remove aliases from grouping expressions if they are not resolved, as the alias may be necessary for resolution, such as `CreateNamedStruct`.

### Why are the changes needed?

fix a regression

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

new test

Closes apache#39867 from cloud-fan/column.

Lead-authored-by: Wenchen Fan <[email protected]>
Co-authored-by: Wenchen Fan <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
(cherry picked from commit 02b39f0)
Signed-off-by: Max Gekk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants