zhaorui2022 opened a new issue, #21563: URL: https://github.com/apache/superset/issues/21563
After upgrading Superset to 2.0.0, when using Create View As functionality, the UI shows an error saying "No stored results found, you need to re-run your query" while it should return a success message. #### How to reproduce the bug 1. With `SQLLAB_BACKEND_PERSISTENCE` set as False. Go to Sqllab, write any `SELECT` query 2. Click on the arrow next to Run, and select `Create View AS` 3. Give any name to the view, and then click on `CREATE` 4. See error as shown in the screenshot ### Expected results Show an error message, and users should be able to start explore the newly created view immediately ### Actual results Shows an error on the UI. #### Screenshots If applicable, add screenshots to help explain your problem.  ### Environment (please complete the following information): - browser type and version: N/A, not browser specific - superset version: 2.0.0 - python version: 3.9 - node.js version: N/A - any feature flags active: `SQLLAB_BACKEND_PERSISTENCE = False` ### 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. ### Additional context -- 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]
