GitHub user 2873377152 created a discussion: Version 5.0.0: Jinja Templates are 
unavailable

### Bug description

1. Use version 5.0 of superset
2. Enable the ENABLE_TEMPLATE_PROCESSING flag
3. Connect to the pg database of superset itself. When querying in the SQL lab, 
use the statement "SELECT '{{ current_username()}}' AS current_user;" The 
result will be "{{ current_username()}}". Note: The same issue exists when 
executing in the MySQL data source.

### Screenshots/recordings

_No response_

### Superset version

5.0.0

### Python version

I don't know

### Node version

I don't know

### Browser

Chrome

### Additional context

_No response_

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

GitHub link: https://github.com/apache/superset/discussions/36147

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to