mikebridge commented on code in PR #44455: URL: https://github.com/apache/superset/pull/44455#discussion_r4149740518
########## docs/docs/using-superset/exploring-data.mdx: ########## @@ -24,6 +24,21 @@ The following information about each flight is given: - Information about the origin and destination. - The distance between the origin and destination, in kilometers (km). +### Semantic Table time grains + +For a Table chart backed by a semantic view, Time Grain applies when grouping by +a temporal dimension. Removing the last temporal dimension leaves the saved +choice intact, but the frontend omits a recognized dormant grain from aggregate +requests whose selected columns are known to be non-temporal (including no +grouping columns). Adding the temporal dimension again reuses the saved choice. +Unknown columns or grain values are not silently normalized. Ordinary dataset +charts and raw-record queries are unchanged. + +This applies to requests rebuilt by the updated frontend in Explore and +dashboards; it does not rewrite saved charts. Direct API requests and saved Review Comment: Good catch. I verified that dashboards use the saved chart form data rather than re-running the Explore control's initial value. The docs now explain that older grouped charts may need to be re-saved before dashboard requests omit a dormant grain: [4f70eb26](https://github.com/apache/superset/commit/4f70eb26efe52289a80de53aedc8ebb37513c11a). I left the code unchanged, including the fail-safe behaviour discussed in the other comments. -- 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]
