Open geoHeil opened 6 hours ago
Hey @geoHeil! Thanks for giving this a try. This likely has to do with the flags
yml. And our JSON schema for this YML not being compliant with that
flags:
send_anonymous_usage_stats: False
In order to unblock yourself, you can try removing the flags
YML. We'll make sure to fix this in a future release.
Also worth mentioning, we don't support DuckDB today, so the best way to get started with SDF on top of a dbt project is by using the jaffle-shop-classic example project.
We have a guide for setting this project up here: https://docs.sdf.com/integrations/dbt/integrating
According to https://github.com/search?q=repo%3Asdf-labs%2Fsdf-cli%20duckdb&type=code you emulate duckdb - but in the comment you mentioned you do not support it - what does this mean?
Indeed:
error: SDF1013: JSON error: unknown variant `duckdb`, expected one of `redshift`, `snowflake`, `postgres`, `bigquery`, `trino`
@geoHeil The SDF binary contains Apache DataFusion baked in. We resolved dialects like Snowflake, Trino, and BigQuery down to the DataFusion logical plan for execution and analysis. DataFusion is also an in-memory analytical database even faster than DuckDB on certain benchmarks.
In this way, we combine the transformation layer with an execution engine (kind of like dbt + DuckDB), however we don't support the DuckDB dialect of SQL natively.
That being said, the jaffle shop duckdb project contains some relatively simple SQL, that we actually can execute natively. Hence the migration guide takes you through compiling and running that project locally with SDF, using our default trino
dialect of SQL (the duckdb jaffle shop SQL does not need to be modified in order to run as the trino
dialect).
I realize this is all a bit convoluted. I'll be sure to update the docs to make this distinction more explicit. Thanks for your feedback!
Describe the bug
Trying to explore from/with dbt:
Fails. However, I have a
profiles.yml
file sitting in my current directory looking like:To Reproduce Steps to reproduce the behavior:
dbt compile
sdf dbt init
Expected behavior sdf init from dbt project with duckdb to work
Additional context Add any other context about the problem here.