betodealmeida opened a new issue #11589:
URL: https://github.com/apache/incubator-superset/issues/11589


   There are two ways of adding a new tab in SQL Lab:
   
   1. CTRL+T
   2. Clicking the "+" button
   
   The new tab is different depending on the method. The first one creates an 
empty query, the second one creates a dummy query `SELECT ...`
   
   ### Expected results
   
   Behavior should be consistent.
   
   ### Actual results
   
   New query is different depending on the method.
   
   #### Screenshots
   
   N/A
   
   #### How to reproduce the bug
   
   1. Go to SQL Lab
   2. Click on "+" button, new query has `SELECT ...`
   3. Press CTRL+T, new query is empty
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: master
   - python version: 3.8
   - node.js version: v14.11.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.
   
   ### Additional context
   
   N/A


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

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