Closed jagrafft closed 4 months ago
Pretty sure md
refers to the motherduck extension which ships by default; I'm really confused by this one. Does it go away if you exclude the attach
configuration block from your profile? Or if you keep the attach
block but remove the type: duckdb
option?
@jwills Removing the type
key from the attach
object seems to work. Thank you!!
Are you able to elaborate on why this might work?
profiles.yml
analytics:
target: dev
outputs:
dev:
type: duckdb
path: '/path/to/folder/with/data/dbs/analytics.duckdb'
attach:
- path: '/path/to/folder/with/datadbs/source.duckdb'
@jagrafft tbh no, it was just a guess based on what you were doing and the error that you were seeing. The dbt-duckdb code is dumb about the types of attached databases b/c people keep adding new ones (e.g., mysql
was recently added), so we just treat it as a string.
@jwills The strategy makes sense if dbt-duckdb
isn't yet stable. I'll bear your advice in mind if I run into other bugs. Thanks!
dbt run
throws a runtime error saying the extensionduckdb.duckdb_extension
cannot be loaded from${env:HOMEPATH}\.duckdb\extensions\v0.9.2\windows_amd64\
. Happens in all cases, and https://duckdb.org/docs/extensions/overview does not list anmd
extension.System
v0.9.2 3c695d7ba9
(winget install)3.11.6
Error Message
profiles.yml