justinpark opened a new pull request, #27636:
URL: https://github.com/apache/superset/pull/27636

   ### SUMMARY
   When a table is added to the SQL Lab table previews which results in the 
error "An error occurred while fetching table metadata" occurs, that table 
cannot be removed from the current tab view. 
   
   Trying to remove the problem table preview causes the error "An error 
occurred while removing the table schema. Please contact your administrator." 
and the table preview can't be removed. 
   
   This commit addresses the reported issue.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   Before:
   
   
https://github.com/apache/superset/assets/1392866/b790d4de-45e7-407b-906d-8d801c8f0001
   
   After:
   
   
https://github.com/apache/superset/assets/1392866/3cc3ed61-b4e9-43b9-bdaa-c9ef6cb93b6d
   
   
   ### TESTING INSTRUCTIONS
   SET SQLLAB_BACKEND_PERSISTENCE true
   Select a table might cause issues when fetching metadata
   Remove the table schema selection after errors thrown
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to