-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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 saving new sql lab queries #8351
Conversation
@suddjian Save query feature works good. but i have another question: it seems query's I saw this problem in the last commit (so it's not introduced from this PR). it will be great improvement if you can have this fixed as well. |
That's certainly an interesting bug, I'll see what I can do |
@graceguo-supercat I've done some investigation, and this bug seems to be connected to a larger issue where null values are being returned from the backend as I have pinned down exactly where it affects this part of the Saved Query feature: In the response to the request I'm not sure how to best deal with this problem, though I have a couple very hack-y ideas. It should probably be reported as its own bug if it isn't already, as it's probably affecting other parts of the app that should be receiving nulls. |
fair. I agree to report the missing label as a separate issue. |
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.
LGTM
* fix saving new sql lab queries * allow freshly saved queries to be updated immediately
Still seeing this issue in 0.35.0. Anyone else? |
@rubypollev are you referring to the |
Ah, okay! Is there an issue I can subscribe to @suddjian? |
CATEGORY
Choose one
SUMMARY
This fixes an issue introduced in #8298 as reported by @graceguo-supercat. Due to a lack of FAB know-how on my part, the
id
field was required when POSTing a saved query, which prevents any new saved queries from being created.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
Tested locally
ADDITIONAL INFORMATION
REVIEWERS