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: return appropriate response when payload has error #12575
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12575 +/- ##
==========================================
- Coverage 66.75% 66.75% -0.01%
==========================================
Files 1015 1015
Lines 49633 49634 +1
Branches 4839 4839
==========================================
- Hits 33133 33131 -2
- Misses 16377 16380 +3
Partials 123 123
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you check if the same should apply to sample requests? https://github.com/apache/superset/blob/master/superset/viz.py#L257-L258
@villebro Lines 246 to 258 in 0f243c6
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok thanks for the correction @zhaoyongjie !
SUMMARY
Raise an unexpected exception when an empty query in the results panel
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
before
after
TEST PLAN
Tested in my local environment
ADDITIONAL INFORMATION