dneelapareddy edited a comment on issue #17598:
URL: https://github.com/apache/superset/issues/17598#issuecomment-982799047
Also trying to use jinja template in custom sql:
`SELECT TIME_FLOOR("__time", 'PT15M') AS "__timestamp",
'{{ from_dttm }}' - '{{ to_dttm }}' AS "DURATION"
FROM "druid"."tableAbc"
WHERE "__time" >= '2021-11-29 00:00:00.000000'
AND "__time" < '2021-11-30 00:00:00.000000'
GROUP BY TIME_FLOOR("__time", 'PT15M')
ORDER BY "DURATION" DESC
LIMIT 50000;`

But, the jinja expression is not getting evaluated
--
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]