PavelOreshkin opened a new issue, #30586: URL: https://github.com/apache/superset/issues/30586
### Bug description Can't create chart if write incorrect SQL request in virtual dataset Steps: 1. Create dataset 2. Go to dataset list 3. Click on Edit icon on this new dataset 4. Click on icon Lock with text "Click the lock to make changes." 5. Choose Virtual 6. In SQL textarea write "SELECT 1" 7. Click on Save 8. Enter on this dataset 9. Choose any column in "Dimensions" selector 10. Click "Create chart" Actual results: Import error is shown in the "Connect a database" dialog Expected behavior: May be validate dataset SQL before starting work with chart or let the user select only those columns that he can select ### Screenshots/recordings  ### Superset version master / latest-dev ### Python version 3.9 ### Node version 16 ### Browser Chrome ### Additional context _No response_ ### Checklist - [X] I have searched Superset docs and Slack and didn't find a solution to my problem. - [X] I have searched the GitHub issue tracker and didn't find a similar bug report. - [X] 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. -- 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]
