betodealmeida commented on issue #17927: URL: https://github.com/apache/superset/issues/17927#issuecomment-1007600171
> @betodealmeida , has any consideration been given to adding hierarchical dimension semantics to the new dataset models? @villebro We have not, but we definitely should. It could be as simple as defining the parent column in the dataset, eg, in `city` we'd set `state` as the parent dimension, in `state` we'd set `country`, and so on. @EvilDrW I have questions about additive metrics. When you're at the country level, how do you compute the metrics, do you run a query with only `country` in the group by or do you run the full group by (`country`, `state`, `city`) and add the values? If the latter we should think how we're going to handle non-additive metrics like `COUNT DISTINCT` — this is another area where the semantic layer can help. -- 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]
