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

[Backport 1.6.latest] Redact values from logs due 'duplicate key' error #782

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

dataders
Copy link
Contributor

Backport 9fa8de2 from #773

* Add failing test

* Fix model test naming

* Add redaction looping logic

* Apply suggestions from code review

Co-authored-by: Doug Beatty <[email protected]>

* Add changelog

* Fix test case

* Rename test class

* Colocate redaction tests

* Ignore if dbt run passes or fails

* Materialize as a table instead of a view to trigger an error

* Expect the run to fail with a specific error message

* Reverse order of dict, assert that sensitive data is replaced

* Add newline

---------

Co-authored-by: Doug Beatty <[email protected]>
Co-authored-by: Mike Alfare <[email protected]>
(cherry picked from commit 9fa8de2)
@dataders dataders requested a review from a team as a code owner September 19, 2023 15:48
@cla-bot cla-bot bot added the cla:yes label Sep 19, 2023
@McKnight-42 McKnight-42 merged commit 504695b into 1.6.latest Sep 25, 2023
56 checks passed
@McKnight-42 McKnight-42 deleted the backport-773-to-1.6.latest branch September 25, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants