-
Notifications
You must be signed in to change notification settings - Fork 477
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
SNOW-1776252: Prefer stdlib tzinfo objects over pytz's #2098
Comments
Hello @Kache , Thanks for raising the request; we will review it internally and get back to you. Regards, |
Hello @Kache , The team is working and looking into it, there is no ETA as of now. Regards, |
Hello @Kache , Do you have an account in Snowflake? could you let us know? Regards, |
1 similar comment
Hello @Kache , Do you have an account in Snowflake? could you let us know? Regards, |
I'm using my employer's account |
Hi kache, Thanks for the update, whats the name of your employer? do they have aan ccount in Snowflake? |
Sure, I'll do that update I've opened support case 00918876 |
What is the current behavior?
Uses pytz's tzinfo objects
The following queries:
Are returned by
snowflake-connector
and printed out (respectively) as:What is the desired behavior?
Use stdlib tzinfo objects
For example, if
_generate_tzinfo_from_tzoffset()
was changed like:then the previous examples would instead print out:
How would this improve
snowflake-connector-python
?repr()
of returneddt.datetime
objects is valid Python (the<UTC>
is not)References and other background
worth considering: https://blog.ganssle.io/articles/2018/03/pytz-fastest-footgun.html
The text was updated successfully, but these errors were encountered: