-
Notifications
You must be signed in to change notification settings - Fork 177
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
Fix only create task group and test task only if model has test #543
Conversation
👷 Deploy Preview for amazing-pothos-a3bca0 processing.
|
0012d84
to
06f2b38
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #543 +/- ##
==========================================
+ Coverage 92.37% 92.41% +0.04%
==========================================
Files 49 49
Lines 1941 1952 +11
==========================================
+ Hits 1793 1804 +11
Misses 148 148
☔ View full report in Codecov by Sentry. |
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.
This looks amazing, @raffifu , thank you very much for your contribution!
I added two minor comments, and we can aim to release this as part of 1.2.
Bug fixes * Fix using ``ExecutionMode.KUBERNETES`` by @pgoslatara and @tatiana in #554 * Add support to ``apache-airflow-providers-cncf-kubernetes < 7.4.0`` by @tatiana in #553 * Improve error message in ``config.py`` by @meyobagero in #532 * Use ``returncode`` instead of ``stderr`` to determine dbt graph loading errors by @cliff-lau-cloverhealth in #547 * Fix only create task group and test task only if model has test by @raffifu in #543 * Fix ``on_warning_callback`` behaviour on ``DbtTestLocalOperator`` by @edgga, @marco9663 and @tatiana in #558 * Fix ``DbtTestOperator`` when test does not have ``test_metadata`` by @tatiana in #558 * Fix ``target-path`` not specified issue in ``dbt-project.yml`` by @tatiana in #533 Others * Docs: add reference links to dbt and Airflow columns by @TJaniF in #542 * pre-commit updates #552 and #546
This PR will only create task group if `dbt` test exist by adding propery `has_test` on `DbtNode`. The test dependency will be updated after loading the dbt project into `DbtGraph` Closes: #531
Bug fixes * Only create task group and test task only if the model has a test by @raffifu in #543 * Fix parsing test nodes when using the custom load method (LoadMethod.CUSTOM) by @raffifu in #563 * Fix ``DbtTestOperator`` when test does not have ``test_metadata`` by @javihernovoa and @tatiana in #565 * Support dbt 1.6 and apache-airflow-providers-cncf-kubernetes 7.3.0 by @tatiana in #564
Bug fixes * Only create task group and test task only if the model has a test by @raffifu in #543 * Fix parsing test nodes when using the custom load method (LoadMethod.CUSTOM) by @raffifu in #563 * Fix ``DbtTestOperator`` when test does not have ``test_metadata`` by @javihernovoa and @tatiana in #565 * Support dbt 1.6 and apache-airflow-providers-cncf-kubernetes 7.3.0 by @tatiana in #564
This was released as part of 1.1.3 🎉 |
Bug fixes * Only create task group and test task only if the model has a test by @raffifu in #543 * Fix parsing test nodes when using the custom load method (`LoadMethod.CUSTOM`) by @raffifu in #563 * Fix `DbtTestOperator` when test does not have ``test_metadata`` by @javihernovoa and @tatiana in #565 * Support dbt 1.6 and `apache-airflow-providers-cncf-kubernetes` 7.3.0 by @tatiana in #564
Description
This PR will only create task group if
dbt
test exist by adding properyhas_test
onDbtNode
. The test dependency will be updated after loading the dbt project intoDbtGraph
Related Issue(s)
closes #531
Checklist