什么是数据'在DBT测试命令中的含义?
我们的一些自动化管道长期以来一直使用以下 dbt测试命令。
dbt测试-target target_name - 数据 -M test_file_name -vars-Vars“ {'branch':'branch_name','execdate':'2020/01/01'}“ - -no-version-check
它没有麻烦,直到DBT版本从0.17.0升级到1.0.0。
现在,遇到错误
dbt:错误:未识别的参数:-data
我现在可以从dbt命令中删除- 数据
,但我很好奇地知道为什么人们在管道中添加了dbt命令中的data - data开发很久以来,在DBT命令中正在做什么?
有什么帮助吗?
A few of our automated pipelines have been using the below dbt test command for a long time.
dbt test --target target_name --data --m test_file_name --vars "{'branch':'branch_name','execdate':'2020/01/01'}" --no-version-check
It worked without trouble until the dbt version was upgraded from 0.17.0 to 1.0.0.
Now, getting an error as,
dbt: error: unrecognized arguments: --data
I can remove the --data
from the dbt command now but I am curious to know why the people have added --data in the dbt command during the pipeline development long back and what it is doing in the dbt command?
Any help, please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该部分描述为:测试选择示例:
语法
- 数据
在版本中支持低于V.0.18.0的版本。This part is described: Test selection examples:
Syntax
--data
was supported in version lower than v.0.18.0.