dosubot[bot] commented on issue #35262:
URL: https://github.com/apache/superset/issues/35262#issuecomment-3326921432
<!-- Answer -->
There are no documented changes to the implementation or registration of the
url_param Jinja macro between Superset 3.1.3 and 6.0.x. The macro is still
registered in the Jinja context and should be rendered before SQL is sent to
the database, as long as ENABLE_TEMPLATE_PROCESSING is enabled and the macro
context is properly populated. If raw {{ url_param(...) }} strings are reaching
PostgreSQL, it's likely due to a configuration or context population issue, not
a change in the macro itself. Superset 6.0.x does include stricter template
validation, which could cause errors if the macro context is missing or
incomplete. Double-check that ENABLE_TEMPLATE_PROCESSING is set to True and
that the query context includes the expected parameters. For more details, see
the macro implementation and processing logic
[here](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/jinja_context.py)
and [here](https://github.com/apache/superset/blob/829e4d92d91cea
e4b43b1ed3b063ffe45377799c/superset/sqllab/query_render.py).
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do?
[Good](https://app.dosu.dev/response-feedback/f908c9e6-f2e3-4999-a330-603fc6722746?feedback_type=great_response)
|
[Irrelevant](https://app.dosu.dev/response-feedback/f908c9e6-f2e3-4999-a330-603fc6722746?feedback_type=irrelevant_answer)
|
[Incorrect](https://app.dosu.dev/response-feedback/f908c9e6-f2e3-4999-a330-603fc6722746?feedback_type=incorrect_sources)
|
[Verbose](https://app.dosu.dev/response-feedback/f908c9e6-f2e3-4999-a330-603fc6722746?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/f908c9e6-f2e3-4999-a330-603fc6722746?feedback_type=hallucination)
| [Report
🐛](https://app.dosu.dev/response-feedback/f908c9e6-f2e3-4999-a330-603fc6722746?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/f908c9e6-f2e3-4999-a330-603fc6722746?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35262)
--
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]