ketansharma78 commented on issue #40119:
URL: https://github.com/apache/superset/issues/40119#issuecomment-4460006689
I am getting the below error. I have also included the query that I used for
reference.
`{% set tf = get_time_filter("created_date", default="Last week") %}
SELECT
id,
offer_id_c,
created_date
FROM test_schema.testing
WHERE IS_DELETED = false
{% if tf.from_expr %}
AND created_date >= {{ tf.from_expr }}
{% endif %}
{% if tf.to_expr %}
AND created_date < {{ tf.to_expr }}
{% endif %}`
<img width="1505" height="620" alt="Image"
src="https://github.com/user-attachments/assets/09ea11df-943a-47ce-a1c5-f9af9b09c568"
/>
--
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]