Setting to make column identifiers more case sensitive #11545
Closed
soerenwolfers
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Can you provide an example of this happening? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Closing this in favor of #13952 to make SELECT ... FROM (...) _(A, a)throw an error. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It'd be nice if there was a configuration setting to make duckdb either (1) throw if a column identifier matches two or more columns that match exactly or differ only in capitalization (currently it'll randomly pick one) (2) require matching capitalization in that case (3) always require matching capitalization, i.e., be fully case sensitive.
In scientific applications and in quick exploratory research, it's very common to use capitalization to distinguish variables. For example,
Mcould be a matrix whilemcould be a count; L could be a physical constant, whilelcould be a length,Vcould be a volume whilevcould be velocity.Currently duckdb remembers capitalization of columns but randomly picks out of matching columns in case of conflicts. I personally find this behavior never useful.
Beta Was this translation helpful? Give feedback.
All reactions