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 2021/02/18 22:54:34 UTC

[GitHub] [superset] mistercrunch opened a new issue #13226: MetricPopover - set default aggregate based on selected column type

mistercrunch opened a new issue #13226:
URL: https://github.com/apache/superset/issues/13226


   We could save a few extra clicks by assuming people want to `SUM` numeric values and `COUNT(DISTINCT {col})` strings.
   
   <img width="364" alt="Screen Shot 2021-02-18 at 2 51 30 PM" src="https://user-images.githubusercontent.com/487433/108432218-e1429f80-71f8-11eb-9f23-5413e47aff4d.png">
   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] junlincc commented on issue #13226: MetricPopover - set default aggregate based on selected column type

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #13226:
URL: https://github.com/apache/superset/issues/13226#issuecomment-781694486


   @mistercrunch This popover is gonna function quite differently in d&d,  we will take it into consideration while redesigning. 
   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] killmen136 commented on issue #13226: [Explore]set default aggregate based on selected column type

Posted by GitBox <gi...@apache.org>.
killmen136 commented on issue #13226:
URL: https://github.com/apache/superset/issues/13226#issuecomment-781733158


   > @mistercrunch This popover is gonna function quite differently in d&d,  we will take it into consideration while redesigning. 
   > 
   > 
   
   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] junlincc commented on issue #13226: [Explore]set default aggregate based on selected column type

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #13226:
URL: https://github.com/apache/superset/issues/13226#issuecomment-781729762


   set dynamic aggregate function default based on column types
   numeric and contains `_id_ _key_  _code_ ` -> COUNT(DISTINCT)
   other numeric -> `SUM`
   strings -> `COUNT(DISTINCT)`
   TEXT -> SUM(LENGTH) (?)
   
   @zhaoyongjie @villebro 


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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] killmen136 removed a comment on issue #13226: [Explore]set default aggregate based on selected column type

Posted by GitBox <gi...@apache.org>.
killmen136 removed a comment on issue #13226:
URL: https://github.com/apache/superset/issues/13226#issuecomment-781733158


   > @mistercrunch This popover is gonna function quite differently in d&d,  we will take it into consideration while redesigning. 
   > 
   > 
   
   


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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org