-
Notifications
You must be signed in to change notification settings - Fork 12
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
Check incremental data types are compatible with dry run of merge #45
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ccharlesgb
changed the title
Incremental data types
Check incremental data types are compatible with dry run of merge
Oct 13, 2023
This was referenced Dec 12, 2023
tonyzxx
pushed a commit
to migocorp/dbt-dry-run
that referenced
this pull request
Feb 29, 2024
* Add support for INTERVAL column type * Add support for JSON column type * Add integration test for column types * Improve schema parsing from BigQuery client (autotraderuk#29) * Update release process * Release v0.6.3 * Support for dbt v1.4 (autotraderuk#30) * Upgrade to dbt 1.4 * Update CHANGES.md * Release v0.6.4 * Add --skip-not-compiled flag (autotraderuk#32) * Add --skip-not-compiled flag * Release v0.6.5 * Add --version parameter to print dry run version * Support python 3.10 * Update poetry.lock * Ignore more deprecation warnings * Ignore invalid escape sequences * Integration tests for incremental models * Support Python 3.11 (autotraderuk#37) Had to ignore deprecation warning of "cgi" core module being use by google-cloud-storage (transitive dependency) Integration and unit tests ran and are passing * Add extra-check-columns-metadata-key option (autotraderuk#36) * Release 0.6.6 Minor improvements and new CLI options * Support dbt 1.5 (autotraderuk#40) * Upgrade dbt to 1.5 and fix failing tests * target-path in project has been deprecated * Add --threads override option * Release v0.6.7 * Add compatibility with dbt 1.6rc1 * Update to 1.6.0 * Release 0.6.8 * --full-refresh and --target-path CLI flags support (autotraderuk#44) * add support for cli flag --full-refresh expose it as a global flag get predicted/model schema for full-refresh nodes * wire dbt --target-path cli flag allows integration tests to have multiple project contexts running at the same time without conflicting targets * add full_refresh support derived from dbt model spec as well * test full refresh precedence between cli flag and model config * verify and update readme * rename integration tests to make it clearer * refactor full refresh precedence to match dbt docs definition * update lock file and changes.md * Release 0.7.0 * Refactor model runner to split by materialization * Check incremental data types are compatible (autotraderuk#45) * Extra dry run to verify type compatibility * Refactor incremental runner unit tests * Struct integration test * Add changelog * Release v0.7.1 * Fix run-integration.sh writing to wrong target * Use column_types config for seeds (autotraderuk#46) * Use adapter to convert agate types for seeds * Print schema if node success when failure expected * Load `column_types` when dry running seeds * Add changelog * Release v0.7.2 * Remove `columns` schema redundancy for external sources (autotraderuk#47) * Respect existing column ordering for incremental models (autotraderuk#50) * Don't run merge if incremental has recursive CTES (autotraderuk#51) * Collate changes for 0.7.3 * Release v0.7.3 * fix false failure when require partition filter (autotraderuk#56) fix filtered_partition_date Co-authored-by: Maliek Borwin <[email protected]> * Changes for v0.7.4 * Release v0.7.4 * Fix problem where sql_header interacts with merge * Release v0.7.5 * merge origin dbt-dry-run updated code into migo dbt-dry-run * modify pyproject.toml pydantic dependency version to at least 1.10.8 --------- Co-authored-by: Philippa Main <[email protected]> Co-authored-by: connor-charles <[email protected]> Co-authored-by: Connor Charles <[email protected]> Co-authored-by: zachary-povey <[email protected]> Co-authored-by: Connor Charles <[email protected]> Co-authored-by: Angelos Georgiadis <[email protected]> Co-authored-by: Angelos Georgiadis <[email protected]> Co-authored-by: bokhi <[email protected]> Co-authored-by: malik016 <[email protected]> Co-authored-by: Maliek Borwin <[email protected]> Co-authored-by: bruce_huang <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes #26
Checklist:
make verify
and fixed any linting or test errorsmake integration
against a Big Query instance