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 2019/02/11 23:18:41 UTC
[GitHub] donbowman opened a new issue #6853: superset fails to auto-detect
time field from druid as sql
donbowman opened a new issue #6853: superset fails to auto-detect time field from druid as sql
URL: https://github.com/apache/incubator-superset/issues/6853
Using druid 0.13.0
Using superset 'master'
Using sql as the datasource rather than the druid native one.
Any time series charts get:
`"Datetime column not provided as part table configuration and is required by this type of chart"`
If I manually set __time as main datetime when i create the datasource, it works.
I think this could auto-add the __time as temporal.
```
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/superset/viz.py", line 410, in get_df_payload
df = self.get_df(query_obj)
File "/usr/local/lib/python3.7/site-packages/superset/viz.py", line 213, in get_df
self.results = self.datasource.query(query_obj)
File "/usr/local/lib/python3.7/site-packages/superset/connectors/sqla/models.py", line 799, in query
sql = self.get_query_str(query_obj)
File "/usr/local/lib/python3.7/site-packages/superset/connectors/sqla/models.py", line 473, in get_query_str
qry = self.get_sqla_query(**query_obj)
File "/usr/local/lib/python3.7/site-packages/superset/connectors/sqla/models.py", line 579, 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
```
----------------------------------------------------------------
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