nicob3y opened a new issue, #27587:
URL: https://github.com/apache/superset/issues/27587

   ### Bug description
   
   I use the SQL_QUERY_MUTATOR mechanism and his execution is always required 
to query underlying database successfully.
   At some point when rendering a chart into an embedded dashboard the method 
[superset.connectors.sql.utils.get_columns_description](https://github.com/apache/superset/blob/ad7bd09819d3fd6ac8f669c6f884551cbd66bcd6/superset/connectors/sqla/utils.py#L135)
 is called and fails to query database because it does not apply the 
SQL_QUERY_MUTATOR.
   As a result an error is diplayed.
   
   ### How to reproduce the bug
   
   Each time i render the chart or force refresh data
   
   ### Screenshots/recordings
   
   
![image](https://github.com/apache/superset/assets/48596976/b7e7cfa3-7acf-4a40-bca0-7c2f3d5c057e)
   
   
   ### Superset version
   
   3.1.1
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Firefox
   
   ### Additional context
   
   SQL_QUERY_MUTATOR is defined in my config.py
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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