Editing a saved query in the sql_lab generate the new one instead of overwrite it! #8068
Closed
3 tasks done
Labels
!deprecated-label:bug
Deprecated label - Use #bug instead
When you want to edit a saved query with sql_lab and when you edit the query and click on the save query button in the sql_lab to save the query, superset makes a new query instead of overwriting the query!
So here is the bug! when I want to edit a saved query and make changes on it, I will get to the Saved Queries pages and I will click on the pop-up link to route the sql_lab to modify the query instead of using the edit button on the saved query page.
why should I or other users do this? here are the reasons:
to modify the query the user habit is to modify it on the sql_lab!
So my approach to solving this issue is that the saved query will be able to modify on the sql_lab, it's simple!
Expected results
overwrite the edited query
Actual results
Create the new record(query)
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug
Environment
(please complete the following information):
superset version
python --version
node -v
npm -v
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: