You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Charts tabs update chart execute same query simultaneously when results tab opened #38152
When a user runs a chart query in Explore with the Data Tables Pane open on the Results tab, two identical database queries are executed simultaneously. This doubles the load on the database for every chart execution in Explore view, with no benefit to the user.
Screenshots/recordings
When update chart with open results tab, then same query are submitted at trino.
If update chart with results tab opend, then same http api call is sent to superset backend
Superset version
master / latest-dev
Python version
3.11
Node version
18 or greater
Browser
Chrome
Additional context
No response
Checklist
I have searched Superset docs and Slack and didn't find a solution to my problem.
I have searched the GitHub issue tracker and didn't find a similar bug report.
I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Activity
perf(explore): reuse chart query data in Results tab
perf(explore): reuse chart query data in Results tab
perf(explore): reuse chart query data in Results tab
perf(explore): reuse chart query data in Results tab
perf(explore): reuse chart query data in Results tab
perf(explore): reuse chart query data in Results tab
perf(explore): reuse chart query data in Results tab