dosubot[bot] commented on issue #34673: URL: https://github.com/apache/superset/issues/34673#issuecomment-3184056023
<!-- Answer --> Rendering large datasets with Handlebars in Superset causes browser freezes and slowness because all records are fetched and rendered client-side, especially in "raw records" mode. Server-side pagination is not supported for Handlebars charts in Superset 5.0.0—the pagination option was recently removed due to incomplete implementation ([see PR #34016](https://github.com/apache/superset/issues/34102#issuecomment-3057478246)). There are no built-in hooks or extension points in the Handlebars chart plugin for implementing server-side pagination or chunking data. The only practical workarounds right now are to use "aggregate" query mode to reduce the number of rows, or to limit your dataset size before rendering. If you need to handle large datasets, consider using alternative visualization components like the Table chart (which has more advanced pagination options, though even these have reported issues in recent versions), or explore the Plotly plugin for dynamic and efficient rendering of large datasets—just note that Plotly currently does not support Superset's cross-filtering features ([discussion](https://github.com/apache/superset/discussions/32756#discussioncomment-13467034)). There is no evidence of ongoing work or a roadmap item to add server-side pagination for Handlebars charts as of Superset 5.0.0. Any solution would likely require significant changes at the plugin or chart framework level. <!-- 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/2034a68e-924f-4959-ac8e-852c651563d2?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/2034a68e-924f-4959-ac8e-852c651563d2?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/2034a68e-924f-4959-ac8e-852c651563d2?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/2034a68e-924f-4959-ac8e-852c651563d2?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2034a68e-924f-4959-ac8e-852c651563d2?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/2034a68e-924f-4959-ac8e-852c651563d2?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/2034a68e-924f-4959-ac8e-852c651563d2?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34673) -- 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]
