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



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

Reply via email to