79497413

Date: 2025-03-10 08:32:05
Score: 1.5
Natty:
Report link

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'"
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Prim Pasuwan