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

[Applied State] Implement batch strategy for metadata-based source freshness computation #138

Closed
4 tasks
MichelleArk opened this issue Mar 25, 2024 · 1 comment · Fixed by #127
Closed
4 tasks
Assignees
Labels

Comments

@MichelleArk
Copy link
Contributor

Housekeeping

  • I am a maintainer of dbt-adapters

Short description

It should be possible to provide the Adapter object a list of sources (BaseRelation), and receive a mapping of BaseRelation to FreshnessResponses, if there is a performant (faster than calling existing metadata support sequentially) means for the adapter to do so (indicated by TableLastModifiedMetadataBatch). If there is no performant implementation possible, the adapter should be able to indicate this via TableLastModifiedMetadataBatch -- not supported.

Context

Core Epic: dbt-labs/dbt-core#9425
Core Issue: dbt-labs/dbt-core#8705

Acceptance criteria

Tasks

Testing

Tasks

Security

N/A

Docs

N/A

Consequences

Core Issue: dbt-labs/dbt-core#8705

@adamcunnington-mlg
Copy link

Hello! So glad to see this issue progressing as part of the overall FR. I just wanted to check whether it is likely that this (and the downstream BQ implementation) will be backported to v1.8 in time for June?

I'm currently planning a hands-on week for my cross-europe team to meet in person and carry out a number of upgrades. It sure would be awesome if we could add this to the list. Our hourly source freshness now taking circa 15 mins - I think this feature will bring it closer to 15 seconds!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants