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

create _lock when deserializing manifest, plus cleanup file serialization #3445

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

gshank
Copy link
Contributor

@gshank gshank commented Jun 8, 2021

resolves #343

Description

Deserialization of the Manifest '_lock' file was not working. Add a post_deserialize method to create a lock.

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

@cla-bot cla-bot bot added the cla:yes label Jun 8, 2021
@gshank gshank temporarily deployed to Postgres June 8, 2021 20:15 Inactive
@gshank gshank temporarily deployed to Redshift June 8, 2021 20:15 Inactive
@gshank gshank temporarily deployed to Redshift June 8, 2021 20:15 Inactive
@gshank gshank temporarily deployed to Snowflake June 8, 2021 20:15 Inactive
@gshank gshank temporarily deployed to Snowflake June 8, 2021 20:15 Inactive
@gshank gshank temporarily deployed to Bigquery June 8, 2021 20:15 Inactive
@gshank gshank temporarily deployed to Bigquery June 8, 2021 20:15 Inactive
@gshank gshank requested review from jtcohen6 and iknox-fa June 8, 2021 20:39
Copy link
Contributor

@jtcohen6 jtcohen6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took for a spin locally, confirmed this fixes the issue with tests on ephemeral models

@@ -26,7 +26,8 @@
- Separate `compiled_path` from `build_path`, and print the former alongside node error messages ([#1985](https://github.com/fishtown-analytics/dbt/issues/1985), [#3327](https://github.com/fishtown-analytics/dbt/pull/3327))
- Fix exception caused when running `dbt debug` with BigQuery connections ([#3314](https://github.com/fishtown-analytics/dbt/issues/3314), [#3351](https://github.com/fishtown-analytics/dbt/pull/3351))
- Raise better error if snapshot is missing required configurations ([#3381](https://github.com/fishtown-analytics/dbt/issues/3381), [#3385](https://github.com/fishtown-analytics/dbt/pull/3385))
- Fix `dbt run` errors caused from receiving non-JSON responses from Snowflake with Oauth ([#3350](https://github.com/fishtown-analytics/dbt/issues/3350)
- Fix `dbt run` errors caused from receiving non-JSON responses from Snowflake with Oauth ([#3350](https://github.com/fishtown-analytics/dbt/issues/3350))
- Fix deserialization of Manifest lock attribute ([#3435](https://github.com/fishtown-analytics/dbt/issues/3435), [#3445](https://github.com/fishtown-analytics/dbt/pull/3445))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you move this up below ## dbt 0.20.0 (Release TBD)? It won't be included in 0.20.0rc1

@gshank gshank merged commit 16501ec into develop Jun 11, 2021
@gshank gshank deleted the fix_serialization branch June 11, 2021 13:30
@leahwicz leahwicz mentioned this pull request Jun 15, 2021
5 tasks
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.

2 participants