Any string between double curly braces {{ }} is be treated like a query parameter: https://redash.io/help/user-guide/querying/query-parameters

How can I escape {{ to use literal {{foobar}} in my query?

Hi! Sadly, it’s impossible to escape curly brackets in Mustache. As a workaround you can tell Mustache to use other delimiters (in this case {{ will be changed to o_O and }} - to O_o):

image

If you need to use parameters later in the query - you have to return them back (or use new delimiterrs if you wish):