-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sql lab] show run button even when no database is selected #1849
Comments
Rather than show the run button as disabled when no database is selected, could we show the run button as disabled only when no database is selected AND no text has been altered in the query window? I want to ensure we support the use case where a user copies and pastes a query into a new tab. |
i believe it is a requirement to choose a database before running your query even if you have just pasted a query into the sql editor pane. the sql query should determine the schema and table but does not specify the database afaik, which is why it needs to be choosen from the dropdown. another option here is to always choose a default db so if the user pastes a query into the editor they will be able to run the query right away. if it's against the wrong db, they should get a useful error message. |
The text was updated successfully, but these errors were encountered: