dbt-labs / spark-utils

Utility functions for dbt projects running on Spark
https://hub.getdbt.com/fishtown-analytics/spark_utils/latest/
Apache License 2.0
31 stars 15 forks source link

Exception handling on dates that aren't real. #6

Closed emilieschario closed 3 years ago

emilieschario commented 3 years ago

I was trying to generate a date dimension model but had a date that wasn't real (think: Feb 30) and the error message wasn't useful. We could update the date math macros to have exception handling with error messages that make sense.