-
Notifications
You must be signed in to change notification settings - Fork 4
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
[sc-27549] Switch to using DiscoveryAPI for dbt.cloud #926
[sc-27549] Switch to using DiscoveryAPI for dbt.cloud #926
Conversation
☂️ Python Coverage
Overall Coverage
New Files
Modified Files
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #926 +/- ##
==========================================
- Coverage 93.54% 88.85% -4.69%
==========================================
Files 229 178 -51
Lines 20033 11556 -8477
==========================================
- Hits 18739 10268 -8471
+ Misses 1294 1288 -6 ☔ View full report in Codecov by Sentry. |
…use-discovery-api-exclusively-for-dbt-cloud
Let's exclude |
coverage on generated files looks alright, it's the parser not parsing macros and sources for jaffle_shop. I'll add a new test case today. |
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.
LGTM at a high level. @elic-eon pls take a closer look
…use-discovery-api-exclusively-for-dbt-cloud
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.
Let's go!
…sively-for-dbt-cloud
ci is failling because setuptools + poetry is broken: pypa/setuptools#4519 |
🤔 Why?
DBT's discovery API exposes more information than manifest.json, plus it's more flexible for us to control what we want to get instead of having to download the entire file every time.
🤓 What?
schema.graphql
from DBT's Apollo server and generate graphql client code automatically.pyproject.toml
Difference between using manifest.json and using discovery api
Script used for comparing MCEs: https://pastebin.com/zc9zE2GG
🧪 Tested?
☑️ Checks
pyproject.toml
.