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

Feature/compile ls relation caches (#1705) #2319

Merged
merged 1 commit into from Apr 14, 2020

Conversation

beckjake
Copy link
Contributor

@beckjake beckjake commented Apr 14, 2020

resolves #1705

Description

Added the populate_adapter_cache to the GraphRunnableTask before_run method

  • previously, only Run used it

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 Apr 14, 2020
@beckjake beckjake requested a review from drewbanin April 14, 2020 16:26
@drewbanin
Copy link
Contributor

can you merge dev/octavius-catto to fix the diff?

Copy link
Contributor

@drewbanin drewbanin left a comment

Choose a reason for hiding this comment

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

One comment on the diff being funky, but otherwise, this LGTM. On our internal analytics project, this change reduces the dbt compile time from 48s to 28s (not scientific). I think we have some more work to do on this front in the future, but this is a good and positive change in it's own right.

Ship it when the diff is addressed :)

Added the populate_adapter_cache to the GraphRunnableTask before_run method
 - Previously only Run used it
@beckjake beckjake force-pushed the feature/compile-ls-relation-caches branch from fca8e28 to ac427bd Compare April 14, 2020 16:44
@beckjake beckjake merged commit 79db880 into dev/octavius-catto Apr 14, 2020
@beckjake beckjake deleted the feature/compile-ls-relation-caches branch April 14, 2020 18:22
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.

Implement the relation cache for dbt compile and dbt ls
2 participants