Open
Description
Bug description
I used a dataset macro in dataset sql with jinja template

select team_manager from {{ dataset(66) }}
And the dashboard works fine
But when I embedded it into frame with sdk, I got an error like this:
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
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.