Vitor-Avila opened a new pull request, #34906: URL: https://github.com/apache/superset/pull/34906
### SUMMARY Executing a chart for Databricks returns this error: <img width="1789" height="788" alt="image" src="https://github.com/user-attachments/assets/954900e9-7e91-472a-a174-c04b7511d2dc" /> The issue was introduced with https://github.com/apache/superset/pull/34642. Debugged with CC, and after this PR, we're trying to access `cursor.description` outside of the connection context, which might not work for some DBs like Databricks. This PR fixes the issue by capturing this value while it's still available. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF **Before** <img width="1789" height="788" alt="image" src="https://github.com/user-attachments/assets/6aa8d797-48fd-4afc-9809-132490b63c2d" /> **After** <img width="1782" height="796" alt="image" src="https://github.com/user-attachments/assets/4e92d542-76b1-43ed-a78f-6842c9d5391a" /> ### TESTING INSTRUCTIONS Create a chart powered by Databricks and confirm that it still works. ### 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]
