yeachan153 opened a new issue, #21909:
URL: https://github.com/apache/superset/issues/21909

   Having the results/samples tab open while creating a chart results in the 
same query run twice by the backend.
   
   #### How to reproduce the bug
   
   1. Go to charts
   2. Create a chart, ensuring that the results/samples tab is active
   3. Update the chart
   
   The backend should show the same query being run twice, once for the chart 
and once for the results/samples tab. Minimising the results/samples tab and 
updating the chart only causes the query to be run once.
   
   ### Expected results
   
   Execute the same query once and share the result between the charts section 
and the results/samples tab.
   
   ### Actual results
   
   The same query gets run twice, it seems like the results/samples tab is 
being treated as a separate chart.
   
   ### Environment
   
   - browser type and version: `Chrome (106.0.5249.119)`
   - superset version: `2.0.0`
   - python version: `3.8.12`
   - backend: `spark 3.2.0`
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [X] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [X] I have reproduced the issue with at least the latest released version 
of superset.
   - [X] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   


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

Reply via email to