Skip to content
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(sqllab): revert #15891 to fix sqllab delay #15992

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

serenajiang
Copy link
Contributor

This reverts commit 8c7e09e.

SUMMARY

#15891 caused some delays with the sql state in SQL Lab, resulting in the incorrect query being run if a user edited and ran a query quickly. Reverting this PR for now.

TESTING INSTRUCTIONS

N/A, but how I tested the bug:

  1. Go to sql lab
  2. Type "SELECT 1"
  3. Wait ~10 seconds
  4. Quickly modify the query to be "SELECT 2" and click "Run"
  5. Observe which query was run (1 or 2)

I confirmed that before this change, the incorrect query was run (SELECT 1), and after this change, the correct query was run (SELECT 2).

to: @graceguo-supercat

Copy link

@graceguo-supercat graceguo-supercat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Thanks @serenajiang investigate. I will create another PR to fix the original issue.

@serenajiang serenajiang merged commit c37c56c into apache:master Jul 30, 2021
serenajiang added a commit to airbnb/superset-fork that referenced this pull request Jul 31, 2021
opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
cccs-RyanS pushed a commit to CybercentreCanada/superset that referenced this pull request Dec 17, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants