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

[sql lab] handle query stop race condition #4928

Merged
merged 1 commit into from
May 7, 2018

Conversation

mistercrunch
Copy link
Member

fixes #4926

In rare cases where the query is stopped before it is started, SQL Lab
returns an unexpected string payload instead of a normal dictionary.

This aligns the process to handle the error in a homogeneous fashion.

fixes apache#4926

In rare cases where the query is stopped before it is started, SQL Lab
returns an unexpected string payload instead of a normal dictionary.

This aligns the process to handle the error in a homogeneous fashion.
@codecov-io
Copy link

Codecov Report

Merging #4928 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4928   +/-   ##
=======================================
  Coverage   77.08%   77.08%           
=======================================
  Files          44       44           
  Lines        8549     8549           
=======================================
  Hits         6590     6590           
  Misses       1959     1959
Impacted Files Coverage Δ
superset/sql_lab.py 75.55% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d6e59a...aa5b58e. Read the comment docs.

@mistercrunch mistercrunch merged commit 415d1c0 into apache:master May 7, 2018
@mistercrunch mistercrunch deleted the fix_stopped branch May 7, 2018 20:49
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
fixes apache#4926

In rare cases where the query is stopped before it is started, SQL Lab
returns an unexpected string payload instead of a normal dictionary.

This aligns the process to handle the error in a homogeneous fashion.
timifasubaa pushed a commit to timifasubaa/incubator-superset that referenced this pull request May 31, 2018
fixes apache#4926

In rare cases where the query is stopped before it is started, SQL Lab
returns an unexpected string payload instead of a normal dictionary.

This aligns the process to handle the error in a homogeneous fashion.
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
fixes apache#4926

In rare cases where the query is stopped before it is started, SQL Lab
returns an unexpected string payload instead of a normal dictionary.

This aligns the process to handle the error in a homogeneous fashion.
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.25.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.25.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQL Lab: Stop query button sometimes results in "Internal Server Error" response rendered in results' pane
3 participants