GitHub user dosubot[bot] added a comment to the discussion: Issue with 
Incremental Dataset Refresh and Auto Time Grain

<!-- Answer -->
To set the Time Grain to Auto in Superset, you can configure it through the 
`superset/config.py` file. This involves using the `TIME_GRAIN_DENYLIST`, 
`TIME_GRAIN_ADDONS`, and `TIME_GRAIN_ADDON_EXPRESSIONS` configurations to 
manage time grains. The frontend component `TimeGrainFilterPlugin.tsx` handles 
the user interface for selecting time grains, allowing users to apply them 
dynamically in the UI 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset/config.py)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/src/filters/components/TimeGrain/TimeGrainFilterPlugin.tsx)</sup>.

Unfortunately, I couldn't find specific information on how Superset handles 
incremental dataset refreshes or how to configure them. It might be necessary 
to explore the Superset documentation or other resources for guidance on this 
feature. If you have any specific questions about the code components or 
configurations involved, feel free to ask!


<!-- 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/73754f48-23a2-4f68-9145-931a05428278?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/73754f48-23a2-4f68-9145-931a05428278?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/73754f48-23a2-4f68-9145-931a05428278?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/73754f48-23a2-4f68-9145-931a05428278?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/73754f48-23a2-4f68-9145-931a05428278?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/73754f48-23a2-4f68-9145-931a05428278?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/73754f48-23a2-4f68-9145-931a05428278?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33439#discussioncomment-13148217

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

Reply via email to