-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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] unserializable object pandas.tslib.Timedelta #2322
Comments
Please post the full backtrace, then please try yo upgrade pandas to the latest release and report back. |
Here is the full backtrace with pandas==0.19.2:
|
@xrmx: Picked wrong button… Thanks for reopening! |
The bug still exists in superset 0.17.0; adding this information to the initial report. |
Still present in 0.17.4. Can anyone else confirm this bug, please, or maybe test whether this is related to the type of database that is being queried? |
I believe it's related to this issue #1929. I'm getting this error too with PostgreSQL when using |
Still present in 0.18.5 |
Still present in 0.18.4 (obviously) |
Still present in 0.19.1, unfortunately |
Make sure these boxes are checked before submitting your issue - thank you!
May be related to #1900?
Superset version
0.15.4, 0.17.0, 0.17.4, 0.18.4, 0.18.5, 0.19.0, 0.19.1
Expected results
Calculating differences of two timestamps (on a postgres DB) yields a column of type interval.
Actual results
The (async) query in SQLLab seems to run endlessly. The stack trace of
superset worker
saysTypeError: Unserializable object 1 days 00:00:00 of type <class 'pandas.tslib.Timedelta'>
Steps to reproduce
Run
select '2017-01-02'::timestamp - '2017--01-01'::timestamp as t_diff
in SQLLab.The text was updated successfully, but these errors were encountered: