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

feat: Use ASOF JOIN in Snowflake offline store query #4850

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nanohanno
Copy link
Contributor

What this PR does / why we need it:

The query template for the Snowflake Offline Store is updated to use the recently added ASOF JOIN (https://www.snowflake.com/en/blog/time-series-analytics-asof-join-generally-available/). We have seen a very substantial improvement in feature queries using the new template. Especially, for large feature tables that have many historical entries for certain entity values the performance is even better than using the ttl parameter in the current query template.

Which issue(s) this PR fixes:

Fixes #4732

Misc

@bimtauer and @miianiemela have shown interest in the feature, are you able to take a look and test it in your setup?

@nanohanno nanohanno requested a review from a team as a code owner December 13, 2024 11:36
@nanohanno nanohanno force-pushed the feature/snowflake_asof_join branch from e47a253 to da7b74a Compare December 13, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use ASOF JOIN in Snowflake Source
1 participant