mistercrunch commented on issue #14548:
URL: https://github.com/apache/superset/issues/14548#issuecomment-840168926


   Ideally we'd know things like:
   - what's the main/most important datetime column here? (first one in the 
dataset flagged as temporal is likely to be good but not guaranteed to be that 
most important time column)
   - what's the latest data point for that column? (depending on the 
indexing/partionning, figuring that out may require a full table scan and take 
some time, we could read the index definition if we wanted to do some magic)
   - what's the time grain? (unclear how to figure that out reliably)
   
   In any case, having that metadata for dataset is useful, and could be set by 
users. Things like primary metric, primary time column, default time filter, 
expected freshness, primary dimension, ...Then we can use these dataset 
settings to set defaults when creating new charts. We could also have a way to 
detect/guess these upon dataset creation, but let user alter/tweak them.


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