Thank you for your comment! I got it working now. I'm using dbt with databricks, so data_tests
and using a date to filter on timestamp both work fine. I can actually pass the date to the test, but I should be using expression_is_true
instead of accepted_value
. And with an extra single quote around the date. All good now!
- dbt_utils.expression_is_true:
expression: ">= '2025-03-01'"