duckdb / dbt-duckdb

dbt (http://getdbt.com) adapter for DuckDB (http://duckdb.org)
Apache License 2.0
935 stars 89 forks source link

Parse Error: R2 Key ID Secret #420

Closed waaronmorris closed 4 months ago

waaronmorris commented 4 months ago

I am receiving a parse error for the key_id when creating an R2 secret.

ddb:
  target: dev
  outputs:
    dev:
      type: duckdb
      path: 'dev.duckdb'
      threads: 24
      extensions:
        - httpfs
        - parquet
      secrets:
        - type: r2
          key_id: "{{ env_var('CLOUDFLARE_CLIENT_ACCESS_KEY') }}"
          secret: "{{ env_var('CLOUDFLARE_CLIENT_SECRET') }}"
          account_id: "{{ env_var('CLOUDFLARE_ACCOUNT_ID') }}"

It seems to only get the first character from the key_id and throw a parse error for the remaining.

waaronmorris commented 4 months ago

See Pull Request 421

guenp commented 4 months ago

thanks @waaronmorris for catching this!

waaronmorris commented 3 months ago

@guenp, when is the next release planned?

guenp commented 3 months ago

@waaronmorris will push one today

guenp commented 3 months ago

@waaronmorris we ran into some issues -- release will be done today instead