dosubot[bot] commented on issue #31027: URL: https://github.com/apache/superset/issues/31027#issuecomment-2493164092
<!-- Greeting --> @qmb-jschwartz Hello there! I'm here to help you with any bugs, questions, or contributions you might have for the project. Let's work together to solve this issue. <!-- Answer --> The recent change in pull request #28312 hides the Advanced Analytics options for non-temporal x-axis fields in Apache Superset. This was done because advanced analytics and forecast options are generally not compatible with non-temporal data <sup>[[1]](https://github.com/apache/superset/blob/master/CHANGELOG/4.1.0.md)</sup>. However, as you've noted, the Rolling Window function can still be useful for non-temporal fields. Currently, the visibility of these options is controlled by the `displayTimeRelatedControls` function, which checks if the x-axis field is temporal <sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-chart-controls/src/utils/displayTimeRelatedControls.ts)</sup>. Unfortunately, there isn't a built-in feature flag to override this behavior or make it configurable at the moment <sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-chart-controls/src/sections/advancedAnalytics.tsx)</sup>. Your suggestion to either roll back the change or introduce a feature flag like `HIDE_ADVANCED_ANALYTICS_FOR_NON_TEMPORAL_X_AXIS` could be a viable solution to address this issue. This would allow users who rely on these functions for non-temporal data to continue using them without disruption. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- 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]
