sbarlock commented on issue #5015: Tz-aware datetime.datetime cannot be 
converted to datetime64 unless utc=True [Continued]
URL: 
https://github.com/apache/incubator-superset/issues/5015#issuecomment-407163684
 
 
   After further investigation, the problem is solved by modifying viz.py to 
set: 
    `df[DTTM_ALIAS] = pd.to_datetime(df[DTTM_ALIAS], utc=True, 
format=timestamp_format)`
   instead of utc=False.
   
   Should this not be set by default as all SQL queries are made using AT TIME 
ZONE 'UTC' ?
   

----------------------------------------------------------------
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]

Reply via email to