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

Include incremental materializations in package distribution #151

Merged
merged 3 commits into from
Feb 26, 2021

Conversation

kwigley
Copy link

@kwigley kwigley commented Feb 26, 2021

resolves issue with 0.19.0 distribution with missing incremental materializations (dbt/include/spark/macros/materializations/incremental)

Description

Used a MANIFEST.in file to define what non-python files to include (docs)

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 Feb 26, 2021
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.

LGTM! I installed in a local virtualenv as pip install .[all]. (nice touch), the incremental macro files show up in env/lib/python3.8/site-packages/dbt_spark-0.19.0-py3.8.egg-info/SOURCES.txt, I ran an incremental model, everything just worked.

I like the use of MANIFEST.in for real recursive inclusion.

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.

Incremental macros missing from packaged dbt-spark==0.19.0
2 participants