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/08/30 08:31:32 UTC

[GitHub] hookover opened a new issue #5780: Datetime column not provided as part table configuration and is required by this type of chart

hookover opened a new issue #5780: Datetime column not provided as part table configuration and is required by this type of chart
URL: https://github.com/apache/incubator-superset/issues/5780
 
 
   Traceback (most recent call last):
     File "/usr/local/lib/python3.5/dist-packages/superset/viz.py", line 396, in get_df_payload
       df = self.get_df(query_obj)
     File "/usr/local/lib/python3.5/dist-packages/superset/viz.py", line 190, in get_df
       self.results = self.datasource.query(query_obj)
     File "/usr/local/lib/python3.5/dist-packages/superset/connectors/sqla/models.py", line 738, in query
       sql = self.get_query_str(query_obj)
     File "/usr/local/lib/python3.5/dist-packages/superset/connectors/sqla/models.py", line 424, in get_query_str
       qry = self.get_sqla_query(**query_obj)
     File "/usr/local/lib/python3.5/dist-packages/superset/connectors/sqla/models.py", line 528, in get_sqla_query
       'Datetime column not provided as part table configuration '
   Exception: Datetime column not provided as part table configuration and is required by this type of chart
   
   ------------
   The time field in the database is of type int. What should I do?
   
   
   

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