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

Use diff file path for big seed checksum #2939

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

jtcohen6
Copy link
Contributor

@jtcohen6 jtcohen6 commented Dec 4, 2020

resolves #2927

Description

  • Replace absolute_path with original_file_path in the checksum of big seeds (> 1 MB)

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue: I did this in a pretty hacky way, by moving around my dbt project, but it worked!
  • This PR includes tests, or tests are not required/relevant for this PR — I updated existing tests. I could try to write a new, replicating this specific issue, if you think it's worthwhile. Basically we'd need to instantiate a project with a big seed, move the entire project within the filesystem (but not the seed within that project), and check to see if it'll be marked modified.
  • I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

@jtcohen6 jtcohen6 marked this pull request as ready for review December 4, 2020 22:55
@jtcohen6
Copy link
Contributor Author

jtcohen6 commented Dec 4, 2020

@cla-bot check

@cla-bot cla-bot bot added the cla:yes label Dec 4, 2020
@cla-bot
Copy link

cla-bot bot commented Dec 4, 2020

The cla-bot has been summoned, and re-checked this pull request!

@jtcohen6 jtcohen6 merged commit 886b574 into dev/kiyoshi-kuromiya Dec 7, 2020
@jtcohen6 jtcohen6 deleted the fix/big-seed-smaller-path branch December 7, 2020 16:18
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.

Use relative_path to determine whether big seeds are modified
2 participants