habalux opened a new pull request #4319: cast postgresql date_trunc() to timestamp without time zone to prevent pandas error URL: https://github.com/apache/incubator-superset/pull/4319 Postgresql DATE_TRUNC() returns type "timestamp with time zone" when used with a "date" type. This causes an error with pandas library using utc=False and when used with a time grain different from the source column. The problem is fixed here by casting the function call to "timestamp without time zone" regardless of the source type. This fix may cause wrong times to be shown in the query result though, depending on the data.
---------------------------------------------------------------- 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
