liumengkai opened a new issue #16737:
URL: https://github.com/apache/superset/issues/16737


   python3.8
   superset version 1.3.0
   
   whatever I select ,the metrics always be count
   
   eg:
   
   
![image](https://user-images.githubusercontent.com/31892927/133885233-464b98dc-6015-4786-891d-508be1d230ac.png)
   
   what I got from the “view query” like this:
   
   
![image](https://user-images.githubusercontent.com/31892927/133885297-3571013d-29ea-425d-a791-66fbe8098bed.png)
   
   
   what I excepted is:
   
   COUNT_DISTINCT(event_name) AS "COUNT_DISTINCT(event_name)"
   COUNT(device_id) AS "COUNT(device_id)"
   
   the example demo works fine, I think it's mysql database.
   It's there something I missed up? thx a lot!


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to