On a Redash application instance backed by a Snowflake database, I've got a dashboard set up with a number of queries, each of which take a parameter of type date
named startDate
.
Each of my queries are coded to apply the dashboard's selected date via WHERE clauses like:
WHERE created_at >= '{{ startDate }}'
In most cases, this is working fine.
However, when on my dashboard, for the startDate
parameter, I select the special value Yesterday
(instead of a specific date), some (but not all) of my queries display an error instead of displaying any data: Error running query: 100035 (22007): Timestamp 'd_yesterday' is not recognized
.
What does this error mean, and how can I fix it?