在我的循环中,我运行dbt命令并将输出保存到.yml文件中。\"}" > models/l30_mart/test.yml在本例中,当我打开test.yml文件时,我看到以下内容:12Please consult the documentation for more information on schema.yml syntax: https://d
我试图在dbt中设置一个单一测试(这是对一个特定表-TableA的测试),因此我编写了一个tests文件夹中的SQL查询。它返回失败的行。但是,当我运行dbt test —-select tableA时,如果测试通过(没有失败的记录),我会得到以下错误:14:20:58Database error while running on-run-endCompilation Error in o
我有一个带有表的标记文件,还有另一个dbtschema.yml文件,用于服务和生成文档。传统上,我在schema.yml中输入表名、列名和列名描述,但现在我想要将md文档中的列名引用到yaml文件中,而不是手动输入。answer or user answered "No" |
目前,我的schema.yml<em
我是dbt的新用户,正在尝试编写一个关系测试: - name: PROTOCOL_ID - relationships: field: id 我得到了这个错误: Compilation Error
Invalid test config given in models/Animal_Protocols/schema.ymlAnimal_Protocols')"), ('field',