You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/05/16 09:42:55 UTC

[GitHub] sbarlock opened a new issue #5015: Tz-aware datetime.datetime cannot be converted to datetime64 unless utc=True [Continued]

sbarlock opened a new issue #5015: Tz-aware datetime.datetime cannot be converted to datetime64 unless utc=True [Continued]
URL: https://github.com/apache/incubator-superset/issues/5015
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if any
   - [x] I have reproduced the issue with at least the latest released version of superset
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar
   
   
   ### Superset version
   0.25.2
   Postgres V10
   
   ### Actual results
   When setting TimeGrain to e.g. month, the following error occurs:
   ![image](https://user-images.githubusercontent.com/26203907/40109396-8e35a02e-58fd-11e8-87b5-bfd74a9f3faa.png)
   
   Note in the picture that I manually changed the value of **utc=False** to **utc=True** in **viz.py**. This did not solved the problem.
   
   The SQL request in itself works well with the PostgresDB ;
   ![image](https://user-images.githubusercontent.com/26203907/40109581-f68871ba-58fd-11e8-887e-5f78ec770a08.png)
   
   
   The problem observed here is similar to the one discussed in[ issue #4250](https://github.com/apache/incubator-superset/issues/4250). The PR merged in issue 4250 did not solved the problem for me.
   
   ### Steps to reproduce
   - In a PostgresDB V10 create a table with a column typed 'timestamp without time zone'.
   - Try to create a Line Chart using this table and set a TimeGrain value.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org