yuguang commented 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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to