TechAuditBI commented on issue #26646:
URL: https://github.com/apache/superset/issues/26646#issuecomment-1909720859

   > It would be nice when creating a chart Superset parsed the query and 
understood that there are metrics and dimensions in it already. Maybe there's a 
mode that would automatically populate the UI so that `COUNT(*)` shows as a 
metric, and `country` shows as a selected dimension. Today, Superset would try 
to build another aggregation on top of this aggregation, which maybe is what 
the user want, but in my experience going from SQL to viz you really want to 
explore the unaggregated query, and be able to modify it in the UI.
   
   Speaking of parsing a query into metrics and dimensions. I think that such 
level of parsing would actually reduce resulting functionality. Because if I 
want to calculate COUNT(*) grouped by country I could simply use the table "t" 
as a dataset. But if my goal was to actually aggregate my data before creating 
a viz I would not be able to do that anymore. 


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