-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
[sql-lab]Pyarrow to pandas fails when timestamp is out of bounds #13661
Comments
Hi @junlincc . I am very very sorry for not answering sooner. I tested with a fresh installation and could reproduce by querying in sql lab on the SELECT TIMESTAMP '01-01-1000'; |
Thanks for the additional details and contributing a fix PR, we will get it reviewed asap! |
Thanks to you for reviewing and contributing this great tool! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
When querying from a database with a timestamp column with [us] granularity and missing data as zero dates the query cannot be completed
Expected results
The query result with full precision of dates
Actual results
pyarrow.lib.ArrowInvalid: Casting from timestamp[us] to timestamp[ns] would result in out of bounds timestamp
How to reproduce the bug
Tested with a DB2 database, select a timestamp from 1900-01-01 in sql-lab
Environment
(please complete the following information):
0.38.0
3.7.9
16.14.0
The text was updated successfully, but these errors were encountered: