rahulsekar commented on issue #5910: Can't make a timeserie if date is TIMESTAMP WITHOUT TIME ZONE (postgres) URL: https://github.com/apache/incubator-superset/issues/5910#issuecomment-437161646 > It seems switching from `dbapi2` to `dbapi1` in the current version has changed how the `dttm.tzinfo` object is formed for `psycopg2`. Previously it was of type `UTC`, now it is `psycopg2.tz.FixedOffset`, which doesn't seem to work compatible with `pandas`. @villebro Is this a reasonable fix? At least retains the old behaviour. `sed -i 's/dttm - epoch_with_tz/dttm.replace(tzinfo=pytz.utc) - epoch_with_tz/g' venv/lib/python3.6/site-packages/superset/utils.py`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
