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/03/27 21:33:00 UTC
[GitHub] [incubator-superset] yuguang edited a comment on issue #6986: BUG:
Time series Line chart has broken
yuguang edited a comment on issue #6986: BUG: Time series Line chart has broken
URL: https://github.com/apache/incubator-superset/issues/6986#issuecomment-477355896
I have the latest libraries, snowflake-connector-python-1.7.9 and snowflake-sqlalchemy-1.1.11. When I run the query in the Snowflake web UI, it returns the columns in all caps. `__TIMESTAMP` is one of them. I have a fix for this, so I will make a pull request for 0.31. The bug was not reproducible on master.
The query generated is
```
SELECT DATE_TRUNC('DAY', CHECK_IN_TIME) AS "__timestamp",
COUNT(DISTINCT "INSTANCE3") AS "COUNT_DISTINCT(INSTANCE3)"
FROM
(SELECT *
FROM emory.public.raw_er) AS expr_qry
WHERE "CHECK_IN_TIME" >= '1919-03-27 00:00:00'
GROUP BY DATE_TRUNC('DAY', CHECK_IN_TIME)
ORDER BY "COUNT_DISTINCT(INSTANCE3)" DESC
LIMIT 1000;
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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