Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dbt-duckdb to the dbt_date package #105

Merged
merged 4 commits into from
Aug 6, 2023

Conversation

jwills
Copy link
Contributor

@jwills jwills commented Aug 4, 2023

Hello hello-- had some users testing out the new dbt semantic layer example with dbt-duckdb and we noticed some deltas between what DuckDB supports and the default macros that seemed worth fixing up; if you would prefer I do this via a shim package, please let me know! 🙇

Copy link
Contributor

@clausherther clausherther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jwills! Normally, I would have said let's do this in a shim package, but then you went ahead and added CI support making this very persuasive 😄
If we can the CI bit figured out, I think this should be good, but I'll give it a closer look then. Thanks for this!

name: "Run Tests - DuckDB"
command: |
. venv/bin/activate
dbt build -t duckdb --project_dir $DBT_PROJECT_DIR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A silly typo-- fixed!

@jwills
Copy link
Contributor Author

jwills commented Aug 6, 2023

okay, equally silly error b/c the integration tests are running an old version of dbt-duckdb (1.4.1) instead of the latest that I ran locally-- will fix shortly

@clausherther
Copy link
Contributor

okay, equally silly error b/c the integration tests are running an old version of dbt-duckdb (1.4.1) instead of the latest that I ran locally-- will fix shortly

Looks like that did it!

@clausherther
Copy link
Contributor

Would you mind also updating the README to note the support for duckdb?

I will have probably have to release this is a 0.8.0 which also means a bump to the dbt-expectations version so might take a bit.

Copy link
Contributor

@clausherther clausherther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@clausherther clausherther merged commit cc5c560 into calogica:main Aug 6, 2023
1 check passed
@jwills jwills deleted the jwills_duckdb branch August 7, 2023 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants