与 dbt 和 Snowfalke 的连接成功,但当尝试运行此命令时:
$ dbt run
Run Code Online (Sandbox Code Playgroud)
它给出了这个错误
错误:运行时错误找不到名为“learn_dbt”的配置文件遇到错误:运行时错误无法运行 dbt”
我是否犯了任何命令错误?
我尝试通过 dbt 连接到 Snowflake,但连接失败并出现以下错误:
Using profiles.yml file at /home/myname/.dbt/profiles.yml
Using dbt_project.yml file at /mnt/c/Users/Public/learn_dbt/rks-learn-dbt/learn_dbt/dbt_project.yml
Configuration:
profiles.yml file [ERROR invalid]
dbt_project.yml file [OK found and valid]
Profile loading failed for the following reason:
Runtime Error
Could not find profile named 'learn_dbt'
Required dependencies:
- git [OK found]
Run Code Online (Sandbox Code Playgroud)
请任何建议。
注意:我正在观看 udemy 视频学习设置 dbt 连接。
以下是我的profiles.yml文件:
Using profiles.yml file at /home/myname/.dbt/profiles.yml
Using dbt_project.yml file at /mnt/c/Users/Public/learn_dbt/rks-learn-dbt/learn_dbt/dbt_project.yml
Configuration:
profiles.yml file [ERROR invalid]
dbt_project.yml file [OK found and valid]
Profile loading failed for …Run Code Online (Sandbox Code Playgroud)