Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing call of SQL_QUERY_MUTATOR function #27587

Closed
3 tasks done
nicob3y opened this issue Mar 20, 2024 · 1 comment
Closed
3 tasks done

Missing call of SQL_QUERY_MUTATOR function #27587

nicob3y opened this issue Mar 20, 2024 · 1 comment

Comments

@nicob3y
Copy link

nicob3y commented Mar 20, 2024

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

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

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • 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.
@nicob3y nicob3y closed this as completed Oct 25, 2024
@nicob3y
Copy link
Author

nicob3y commented Oct 25, 2024

#29885

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant