Introduce standardized date-range helpers

Introduce two new macros that help standardize and centralize the date-range handling in dbt models.

  1. date_window(...) - resolve the analysis window from var() with a correct half-open default, returned as a dict.
  2. date_filter(...) - emit a half-open WHERE predicate that handles the various physical column representations in the lake.

Closes T429483

Merge request reports

Loading