is there any way to use (and register) a jinja custom filter inside dbt?
I would like to slugify some col names (we generate dynamic col from row’s values.
is there any way to use (and register) a jinja custom filter inside dbt?
I would like to slugify some col names (we generate dynamic col from row’s values.
Looking for exactly the same thing… want a regex_replace for this. Looks like there was a GH issue that’s been closed for now.
Although this still isn’t possible (and comes up from time to time), we have made good progress on knocking off the sorts of things that make them particularly necessary.
dbt now includes native support for:
re
regex module (in v0.19.0), which enabled slugify in dbt-utils