今天运行 dbt 时遇到问题...遇到此错误消息并且无法调试问题。我昨天没有这个问题,从那以后也没有改变任何东西。
使用 Homebrew 安装 dbt
Running with dbt=0.18.0
dbt version: 0.18.0
...
Configuration:
profiles.yml file [ERROR invalid]
dbt_project.yml file [OK found and valid]
Profile loading failed for the following reason:
Runtime Error
Credentials in profile "dandelion-bq", target "dev" invalid: Runtime Error
Could not find adapter type bigquery!
Run Code Online (Sandbox Code Playgroud)
可能您安装了插件或其他版本的 dbt-core,请尝试:
dbt --version
Run Code Online (Sandbox Code Playgroud)
它应该列出已安装的插件,猜测在您的情况下那里没有 bigquery:
dbt --version
installed version: 0.19.0
latest version: 1.0.0
Your version of dbt is out of date! You can find instructions for upgrading here:
https://docs.getdbt.com/docs/installation
Plugins:
- postgres: 0.19.0
- bigquery: 0.19.0
Run Code Online (Sandbox Code Playgroud)
安装它,使用 pip 或 pip3
pip install dbt-bigquery
Run Code Online (Sandbox Code Playgroud)
当您收到错误时,同样适用于任何其他插件/适配器Credentials in profile <profile>, target <target> invalid: Runtime Error Could not find adapter type <plugin>!
| 归档时间: |
|
| 查看次数: |
7654 次 |
| 最近记录: |