etr2460 opened a new pull request #9220: [SQL Lab] Implement refetch results 
button properly
URL: https://github.com/apache/incubator-superset/pull/9220
 
 
   ### CATEGORY
   
   Choose one
   
   - [x] Bug Fix
   - [ ] Enhancement (new features, refinement)
   - [ ] Refactor
   - [ ] Add tests
   - [ ] Build / Development Environment
   - [ ] Documentation
   
   ### SUMMARY
   Previously, we were rendering the Fetch data preview button when you 
switched away from a running query tab and switched back after the query 
finished. Clicking on this button would just rerun the query again. Now we 
check to see if a results key is set, and if so we fetch the results from the 
results cache
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
![image](https://user-images.githubusercontent.com/7409244/75502037-816b3d00-5986-11ea-831c-c4433351670f.png)
   
   ### TEST PLAN
   Run a query in a tab, switch to another tab, come back and click the fetch 
results button, see no new query run.
   
   Ensure refetching data previews still works.
   
   Ensure running normal queries still work
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   ### REVIEWERS
   to: @graceguo-supercat @betodealmeida @rusackas 

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to