-
Notifications
You must be signed in to change notification settings - Fork 14k
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
fix(sql lab): display the 'View Results' button consistently in the history tab on sync mode #19362
fix(sql lab): display the 'View Results' button consistently in the history tab on sync mode #19362
Conversation
…en running sync queries
Codecov Report
@@ Coverage Diff @@
## master #19362 +/- ##
==========================================
- Coverage 66.64% 66.58% -0.06%
==========================================
Files 1674 1677 +3
Lines 64614 64238 -376
Branches 6502 6538 +36
==========================================
- Hits 43061 42772 -289
+ Misses 19868 19766 -102
- Partials 1685 1700 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
LGTM! |
@codemaster08240328 Please feel free to add a review so the PR gets a checkmark :) |
…in the history tab on sync mode (apache#19362)" This reverts commit 6d5d03e.
…in the history tab on sync mode (apache#19362)" (apache#19906) This reverts commit 6d5d03e. (cherry picked from commit 1fa841e)
…in the history tab on sync mode (apache#19362)" (apache#19906) This reverts commit 6d5d03e.
…istory tab on sync mode (apache#19362) * fix(sql lab): display the 'View Results' button in the history tab when running sync queries * pr comment
…in the history tab on sync mode (apache#19362)" (apache#19906) This reverts commit 6d5d03e.
SUMMARY
In order to display the 'View Results' button in the history tab of the SQL Lab, the query must have a
resultsKey
.When the query is executed in sync mode, that key was not properly propagated from the API to the FE, thus, the button did not appeared after execution.
The button did appeared once the running polling watching for queries updated, since that fetches fresh results from the api.
This PR forwards that key to make the button show for every successfully executed query.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
Screen.Recording.2022-03-24.at.17.16.06.mov
After:
Screen.Recording.2022-03-24.at.17.14.22.mov
TESTING INSTRUCTIONS
Ensure that, if the queries are successful, the 'View Results' button always displays.
ADDITIONAL INFORMATION