zuzana-vej opened a new issue #10849:
URL: https://github.com/apache/incubator-superset/issues/10849


   A clear and concise description of what the bug is.
   The timer in SQL Lab doesn't work. When you run the query 1st time, it shows 
some number (unsure if accurate). When you run a query 2nd time the value on 
the timer doesn't change. 
   
   ### Expected results
   The timer should reset every time user hits the "RUN" button, and start 
counting again from 0. 
   
   ### Actual results
   
   Timer is stuck.
   
   #### Screenshots
   
   Step 1: Running 1st query: (timer has some result, which looks inacurate, 
the query took longer than 0.67 sec
   
![sqllab-timer-bug](https://user-images.githubusercontent.com/61221714/92983326-96597a80-f457-11ea-95a3-f4a4dcbe00ea.png)
   Timer detail:
   <img width="85" alt="Screen Shot 2020-09-11 at 5 55 40 PM" 
src="https://user-images.githubusercontent.com/61221714/92983409-09fb8780-f458-11ea-899f-73358f6d46a8.png";>
   
   Step 2: Change to different SQL Lab tab and run 2nd query: 
   
![step1](https://user-images.githubusercontent.com/61221714/92983344-b9842a00-f457-11ea-8fe2-525f39ac4a4f.png)
   Timer detail:
   <img width="93" alt="Screen Shot 2020-09-11 at 5 56 02 PM" 
src="https://user-images.githubusercontent.com/61221714/92983418-1b449400-f458-11ea-9a42-1331316752b8.png";>
   
   See query is running - timer value doesn't change
   
![step2](https://user-images.githubusercontent.com/61221714/92983348-c0ab3800-f457-11ea-9a43-ac5b759e56be.png)
   Timer detail:
   <img width="87" alt="Screen Shot 2020-09-11 at 5 56 08 PM" 
src="https://user-images.githubusercontent.com/61221714/92983422-20a1de80-f458-11ea-8d39-5a2f48f53257.png";>
   
   Query finished and returned result - timer is still displaying same value as 
before hitting RUN button:
   
![steap3](https://user-images.githubusercontent.com/61221714/92983368-ce60bd80-f457-11ea-97d6-d68d3d0faed4.png)
   Timer detail:
   <img width="77" alt="Screen Shot 2020-09-11 at 5 56 13 PM" 
src="https://user-images.githubusercontent.com/61221714/92983424-2992b000-f458-11ea-8995-5fb731cd3074.png";>
   
   
   #### How to reproduce the bug
   
   1. Go to SQL Lab
   2. Click on RUN query
   3. See the timer and whether it changes
   4. Run query again, see the timer and whether it changes
   
   ### Environment
   
   - superset version: `latest`
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] 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.

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