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

Backport upstream fix (#12443) #72

Merged
merged 2 commits into from
Nov 6, 2024
Merged

Conversation

sadboy
Copy link
Collaborator

@sadboy sadboy commented Nov 6, 2024

Which issue does this PR close?

Closes #.

Rationale for this change

This fixes botched Column references constructed by the optimizer passes.

TODO: all usage of Column::from_qualified_name in the optimizers are likely wrong, and should be fixed.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@sadboy sadboy marked this pull request as ready for review November 6, 2024 04:40
@sadboy sadboy added the bug Something isn't working label Nov 6, 2024
Copy link

@vgapeyev vgapeyev left a comment

Choose a reason for hiding this comment

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

This is pure magic.

datafusion/optimizer/src/utils.rs Outdated Show resolved Hide resolved
apache#12443)

* fix replace_qualified_name to handle case-sensitive ident

* add tests

* fix clippy
@sadboy sadboy changed the title Fix replace_qualified_name Backport upstream fix (#12443) Nov 6, 2024
@sadboy sadboy merged commit 7a13a9b into sdf/41 Nov 6, 2024
49 of 69 checks passed
@sadboy sadboy deleted the bo/fix-replace-qualified-name branch November 6, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working optimizer sqllogictest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants