将所有的re模块函数都添加到了dbt-jinja中,但是如何使用它呢?我尝试了以下两种方法,但都没有用。Check for typos and/or install package dependencies with "dbt deps".
{% set matcher = match('^C', 'CatCheck for typos and/or install package dependencies with "dbt deps&quo
true) %}
)
from customer_orders 当我运行dbtrun时,它返回如下所示: Running with dbt=0.21.0the JSON object must be str, bytes or bytearray但是如果我创建另一个模型来打印jsonData的值: {%- set payment_methods = dbt_uti
我在DBT和Jinja方面非常新,我想在SQL中使用Jinja时优化我的情况。,case when what_id='003' then what_id else null end as contact_id我想做一些类似于我们在jinja/dbt文档中的例子:
{% set payment_methods = ["bank_transfer", "credit_card", "gif