dneelapareddy commented on issue #17598:
URL: https://github.com/apache/superset/issues/17598#issuecomment-986703953


   @villebro I have enabled `ENABLE_TEMPLATE_PROCESSING` to `True`, 
   I am able to get the `'{{ current_username() }}'` from custom sql,
   
   
![image](https://user-images.githubusercontent.com/43841180/144841057-348b6ceb-56a7-4065-af70-6e8f970abe1f.png)
   
   But Jinja template is unable to evaluate `'{{ to_dttm }}' - '{{ from_dttm 
}}' AS Duration`
   
   
![image](https://user-images.githubusercontent.com/43841180/144840723-f4188384-4104-4f63-a2fc-fdda21286792.png)
   
   I have even tried it in the SQL lab, but not working there too:
   
![image](https://user-images.githubusercontent.com/43841180/144841331-dd46dd67-46ee-4261-8306-339d4a617394.png)
   
   Is there anything else i need to enable to get this working?
   
   
   


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

Reply via email to