-
Notifications
You must be signed in to change notification settings - Fork 300
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
Flytekit dbt plugin #1150
Flytekit dbt plugin #1150
Conversation
* Supports dbt run and dbt test tasks * The plugin includes integration test that need local PostgreSQL database Signed-off-by: ariefrahmansyah <[email protected]>
Signed-off-by: ariefrahmansyah <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
This reverts commit 134fa1c. Signed-off-by: Eduardo Apolinario <[email protected]>
This reverts commit 02ef380. Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1150 +/- ##
==========================================
+ Coverage 68.35% 68.53% +0.18%
==========================================
Files 287 288 +1
Lines 25911 26197 +286
Branches 2900 2924 +24
==========================================
+ Hits 17711 17954 +243
- Misses 7721 7765 +44
+ Partials 479 478 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Eduardo Apolinario <[email protected]>
. | ||
-e file:.#egg=flytekitplugins-dbt | ||
# dbt-sqlite and dbt-core should be compatible | ||
dbt-core==1.2.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we not pin reqs in the .in file?
pip install flytekitplugins-dbt | ||
``` | ||
|
||
_Example coming soon!_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how long do you think this will be here for? over under on a year?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. Do you think it's worth pointing this to a blog post or the flytesnacks examples? (when those are created obviously).
Signed-off-by: Eduardo Apolinario <[email protected]>
TL;DR
This PR introduces a flytekit plugin for dbt
Type
Are all requirements met?
Complete description
This PR is heavily based on #886, with two exceptions: (1) we're using the
sqlite
adapter to test the integration, and (2) minor changes to follow flytekit's style guide.It's worth noting that dbtlabs suggests we rely on parsing the output of the CLI as their python SDK is still very much in flux.
In terms of dbt functionality, this PR adds support for
dbt run
anddbt test
.You'll notice that we're using the jaffle shop example in the tests.
Tracking Issue
flyteorg/flyte#2202
Follow-up issue
NA