-
Notifications
You must be signed in to change notification settings - Fork 421
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
fix: respect case sensitivity on operations #1954
Conversation
@Blajda this seems reasonable to me, are you ready to pull it out of draft? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Great fix :)
@Blajda since you contributed this fix, is this an urgent thing you would like to depend on (i.e. I need to backport to the 0.16 release branch) or are you okay with it going out in 0.17 in a few weeks? |
I'm okay with this going out in 0.17. Thanks! |
Is there any update on this? This issue is currently blocking us on implementing the merge features in delta-rs |
@cesar-vermeulen which version are you using? because this is already released |
Description
By default when Datafusion parses sql expressions it converts columns references to lower case. The
Into
trait forColumn
will also convert the column name to lower case. This is an issue since column names are case sensitive in the delta protocol and it has prevented users from using various operation with the python bindings.This is fixed by configuring Datafusion's sql parser to not normalize identifiers and any public references to
Column
are replaced withDeltaColumn
which will keep capitalization.Related Issue(s)