Closed katy-sadowski closed 1 month ago
Ahhh this one was interesting - turns out pre-commit
creates a new virtual environment for everything - once duckdb is added this works fine!
In my mind this raises a question: is DuckDB or Postgres the database we're focusing on? I assume both but if/when we add support for others this may get harder to maintain
Great catch!!!! The grand vision is to support as many DBMS as OHDSI supports (https://ohdsi.github.io/Hades/supportedPlatforms.html). It's a good flag that there are things to consider there beyond just SQL syntax 😄
When I have duckdb in my target profile, I get this error in the pre-commit SqlFluff run. dbt-duckdb is definitely installed and I'm definitely in my virtual env. dbt runs fine for duckdb. Need to dig into this deeper to figure out what's going on.