dbt-labs / dbt-codegen

Macros that generate dbt code
https://hub.getdbt.com/dbt-labs/codegen/latest/
Apache License 2.0
480 stars 106 forks source link

added comments to verbose regex in generate_model_import_ctes #93

Closed graciegoheen closed 1 year ago

graciegoheen commented 1 year ago

This is a:

Description & motivation

Closes #91 - increases readability of generate_model_import_ctes.sql by using VERBOSE mode for regex and explanatory comments

Checklist

joellabes commented 1 year ago

Blessings upon you ❤️

leverage those regexes in other context

If this becomes necessary, please consider turning them into get_XXXX_regex() macros instead of copy-pasting them around.