-
Notifications
You must be signed in to change notification settings - Fork 31
option to retain natural capitalization #58
Comments
An option to maintain the case sensitivity would be a good one to add. The issue we experienced was that for some [insane] reason (presumably to support Windows as a client platform), Teradata server can maintain case sensitivity while operating against namespaces with case insensitivity. The decision to make a "safe" name for accessing this in Python was driven by the possibility (and, in our experience, reality) that people would create tables/columns with seemingly arbitrary casing and that this would break down interactions with these objects via giraffez. With all the names changed predictably we thought it would help to address this use case. In the situation it would not, it definitely makes sense to add an option to maintain capitalization. My naive implementation would say that setting the operating mode for case sensitivity should be set at the package/module level (and therefore apply globally for that Python interpreter), but I'm open to other ideas/submissions on how to solve this issue. |
Yeah, I agree a package level option would be good enough for those who wish to maintain cases in their code, rather than for each function call. |
Any idea where to get started on this? If it is native Python I can try forking and trying it out on my own, just would need some guidance on a few places and docs to read up on. |
I'm not 100% sure, but I think it would only require removing the I would start there and I think it should probably be both a global setting, that could be set via |
Is there a way to maintain the capitalization after querying and storing off of a select statement. This becomes an issue as Python is case sensitive, so the response from the query ends up in a dataframe where something was expected to be fiscalYear but ends up being stored as fiscalyear.
Would there be a way to add this as an overall option to set for the package or for specific modules, whichever is easier?
The text was updated successfully, but these errors were encountered: