Closed michael-s-molina closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 83.89%. Comparing base (
76d897e
) to head (2bded1e
). Report is 756 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
SUMMARY
https://github.com/apache/superset/pull/27470 modified the logic to validate a SQL Lab query by checking the access permission before any Jinja rendering occurs as some Jinja macros execute statements upon rendering. Those changes left an unused shallow copy statement that was interfering with SQL Alchemy internal state provoking key errors. This PR removes the unused statements.
Fixes https://github.com/apache/superset/issues/30338
TESTING INSTRUCTIONS
Follow the instructions described in the original issue.
ADDITIONAL INFORMATION