ishmulyan opened a new pull request, #36003: URL: https://github.com/apache/superset/pull/36003
### SUMMARY This PR adds dynamic schema support to AWS Athena connection. When Athena connection is configured to some schema selecting different schema in SQL Lab or Dataset configuration doesn't affect the query. As a result it ends up looking for the table in the connection configured schema (not in selected) and fails with table not found error. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF Before: <img width="2230" height="1492" alt="Screenshot From 2025-11-05 15-42-28" src="https://github.com/user-attachments/assets/ff8b2b45-6a3d-4515-80e2-f42f02f97134" /> After: <img width="2230" height="1492" alt="Screenshot From 2025-11-05 15-42-43" src="https://github.com/user-attachments/assets/1d461303-dfa1-45c6-bdcb-0dcf3f810023" /> ### TESTING INSTRUCTIONS Unit tests added. To manually test: - Install PyAthena module and connect to AWS Athena. - Check you're able to run a SQL query without specifying the schema in the SQL statement as long as it's selected in the dropdown. ### 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]
