You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "ikstewa (via GitHub)" <gi...@apache.org> on 2025/09/16 20:05:34 UTC
Re: [I] Embedded dashboard cannot support dataset macro in sql template [superset]
ikstewa commented on issue #32894:
URL: https://github.com/apache/superset/issues/32894#issuecomment-3300182716
We run into the same issue when using the `metric()` macro with an embed. I believe it fails for the same reason that it is trying to do a dataset lookup, even if the dataset is the one the macro is being ran from:
https://github.com/apache/superset/blob/05c6a1bf200a916ce152b669735d8fd53a8b87aa/superset/jinja_context.py#L1067-L1109
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org