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

Check incremental data types are compatible with dry run of merge #45

Merged
merged 5 commits into from
Oct 16, 2023

Conversation

ccharlesgb
Copy link
Collaborator

Description

Fixes #26

Checklist:

  • I have run make verify and fixed any linting or test errors
  • I have added appropriate unit tests or if applicable an integration test
  • OPTIONAL: I have run make integration against a Big Query instance

@ccharlesgb ccharlesgb changed the title Incremental data types Check incremental data types are compatible with dry run of merge Oct 13, 2023
@ccharlesgb ccharlesgb merged commit 9d308d7 into main Oct 16, 2023
1 check passed
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive if column type of incremental changes
1 participant