GitHub user dosubot[bot] added a comment to the discussion: Issue with Incremental Dataset Refresh and Auto Time Grain
<!-- Answer --> I couldn't find specific information on the exact configuration needed in `config.py` for the 'Auto' time grain feature in Superset. Additionally, details on how Superset handles incremental dataset refreshes and their configurations are not available in the provided context. However, for managing virtual datasets with custom SQL queries, it's important to define time grain expressions specific to your database's SQL dialect. You can add new time grains via configuration by specifying them in `TIME_GRAIN_ADDONS` and implementing them in `TIME_GRAIN_ADDON_EXPRESSIONS` <sup>[[1]](https://github.com/apache/superset/blob/master/superset/db_engine_specs/README.md)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/superset/db_engine_specs/sqlite.py)</sup>. If you need further assistance, you might want to explore the Superset documentation or the codebase for more detailed guidance on these features. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/89c0b2f6-fd81-458d-a4fc-7fc620be6a2b?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/89c0b2f6-fd81-458d-a4fc-7fc620be6a2b?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/89c0b2f6-fd81-458d-a4fc-7fc620be6a2b?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/89c0b2f6-fd81-458d-a4fc-7fc620be6a2b?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/89c0b2f6-fd81-458d-a4fc-7fc620be6a2b?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/89c0b2f6-fd81-458d-a4fc-7fc620be6a2b?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/89c0b2f6-fd81-458d-a4fc-7fc620be6a2b?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33439#discussioncomment-13148241 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
