dosubot[bot] commented on issue #33907: URL: https://github.com/apache/superset/issues/33907#issuecomment-3097596671
<!-- Answer --> granularitySqla is the legacy field Superset used to specify the time column for filtering and grouping in timeseries charts. Recent Echarts timeseries chart configs have moved away from granularitySqla and now use x_axis (for the time column) and time_grain_sqla (for the grain) instead, so granularitySqla is often missing from formData in modern Echarts charts. If you see code expecting formData.granularitySqla, it's likely not compatible with the current Echarts timeseries setup—update that logic to use x_axis and time_grain_sqla instead. If you absolutely need granularitySqla in formData for backward compatibility, you’d have to explicitly add granularity_sqla to your control panel config, but the recommended approach is to migrate to the new fields. [Reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/packages/superset-ui-chart-controls/src/sections/echartsTimeSeriesQuery.tsx) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/5f3675b5-1024-4e0f-a235-91a23b4f0ffc?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/5f3675b5-1024-4e0f-a235-91a23b4f0ffc?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/5f3675b5-1024-4e0f-a235-91a23b4f0ffc?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/5f3675b5-1024-4e0f-a235-91a23b4f0ffc?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/5f3675b5-1024-4e0f-a235-91a23b4f0ffc?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/5f3675b5-1024-4e0f-a235-91a23b4f0ffc?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/5f3675b5-1024-4e0f-a235-91a23b4f0ffc?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [! [Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/33907) -- 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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org