1

今天运行 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!
4

1 回答 1

1

可能您安装了插件或其他版本的 dbt-core,请尝试:

dbt --version

它应该列出已安装的插件,在您的情况下猜测那里没有 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

使用 pip 或 pip3 安装它

pip install dbt-bigquery

当您收到错误时,这同样适用于任何其他插件/适配器Credentials in profile <profile>, target <target> invalid: Runtime Error Could not find adapter type <plugin>!

于 2022-02-01T17:26:28.550 回答