René's URL Explorer Experiment


Title: Stream transformations · Issue #2597 · feast-dev/feast · GitHub

Open Graph Title: Stream transformations · Issue #2597 · feast-dev/feast

X Title: Stream transformations · Issue #2597 · feast-dev/feast

Description: Note: Users can push streaming features to the online store via push sources Note: RFC can be found here. See also: Feast Slack: #feast-feature-transformations Requirements Problem 1 Data scientists cannot meaningfully author event-backe...

Open Graph Description: Note: Users can push streaming features to the online store via push sources Note: RFC can be found here. See also: Feast Slack: #feast-feature-transformations Requirements Problem 1 Data scientist...

X Description: Note: Users can push streaming features to the online store via push sources Note: RFC can be found here. See also: Feast Slack: #feast-feature-transformations Requirements Problem 1 Data scientist...

Opengraph URL: https://github.com/feast-dev/feast/issues/2597

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Stream transformations","articleBody":"**Note:** Users can push streaming features to the online store via [push sources](https://docs.feast.dev/reference/data-sources/push)\n**Note:** [RFC](https://docs.google.com/document/d/1UzEyETHUaGpn0ap4G82DHluiCj7zEbrQLkJJkKSv4e8/edit#) can be found here.\n**See also**: [Feast Slack: #feast-feature-transformations](https://tectonfeast.slack.com/archives/C03A2CH7GAG)\n\n## Requirements\n### Problem 1\nData scientists cannot meaningfully author event-backed features that will be fresh at serving time. \n\nOften, right now data scientists will define a feature, and then work with engineers to build that streaming pipeline to push to the online store. There is a tight coupling and engineering bottleneck to reach production. \n\n### Problem 2\nUsers cannot guarantee consistent feature transformations across batch + streaming contexts. If they author a SQL transformation in batch, and a PySpark transformation for streaming, they may have inconsistencies.\n- This problem is also related to versioning transformation logic within Feast. If both batch + stream transformation logic is present, it is easier to ensure they are consistent. An ML platform team can also build a custom feature view that only requires one transformation to be defined, but map to different semantics in batch vs streaming.\n\n### Problem 3\nUsers cannot version transformation logic and tie it to downstream models (a lineage problem). It's useful to see what models may be impacted by changing some stream transformation / aggregation logic, and perhaps allow for A/B experiments using different transformations.\n\n## Potential solution\n### Types of transformations\nWe should support defining both:\n- stateless transformations (e.g. row level transforms / mapping)\n- stateful transformations (e.g. windowed transformations)\n\n### Data scientist developer experience\nIt should be easy for a data scientist to correctly author stream transformations (including aggregations). \n- One way is to introduce a higher level DSL for aggregation logic. \n- Another way is to allow streaming some sample data in, applying the transformation, and seeing the input vs output.\n\n### Example feature view\n```python\n@stream_feature_view(\n    name=\"driver_stats\",\n    entities=[driver],\n    mode=\"spark_sql\",\n    aggregations=[\n        Aggregation(\n            column='distance',\n            function='mean', \n            time_windows=[timedelta(days=7)]   \n         )\n    ],\n    aggregation_interval=timedelta(days=1),\n    source=driver_stats_stream_source,\n)\ndef driver_stats(driver_stats_stream_source):\n    return f'''\n        SELECT\n            driver_id,\n            distance as most_recent_trip_distance,\n            duration as most_recent_trip_duration,\n            event_timestamp,\n        FROM\n            {driver_stats_stream_source}\n        '''\n```\n## Alternatives considered\n- Kicking off long running jobs that ingests events, transforms (Spark, Flink, Bytewax, etc), and writes to the online stores.","author":{"url":"https://github.com/adchia","@type":"Person","name":"adchia"},"datePublished":"2022-04-21T22:48:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2597/feast/issues/2597"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bfddf9b8-8743-5e47-8167-7aef12b9f639
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idACA6:391A54:15CC01F:1E5C232:6A4DF463
html-safe-nonce46fa533c108035ff83a75340474db1d0d418e2baf12707b29eefce5896953a73
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0E2OjM5MUE1NDoxNUNDMDFGOjFFNUMyMzI6NkE0REY0NjMiLCJ2aXNpdG9yX2lkIjoiMjU2MjkwNzk5MjA1MjU5Mzc2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc26cac279fd03af8ccf82a2a10fe012bf792b4318925b996bcb2086f81f47e39
hovercard-subject-tagissue:1211625292
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/2597/issue_layout
twitter:imagehttps://opengraph.githubassets.com/887ac0cd3e82cf43b99b0a49fcf2e8ba546d97d9339205c844b3fb1326562614/feast-dev/feast/issues/2597
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/887ac0cd3e82cf43b99b0a49fcf2e8ba546d97d9339205c844b3fb1326562614/feast-dev/feast/issues/2597
og:image:altNote: Users can push streaming features to the online store via push sources Note: RFC can be found here. See also: Feast Slack: #feast-feature-transformations Requirements Problem 1 Data scientist...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadchia
hostnamegithub.com
expected-hostnamegithub.com
None5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566
turbo-cache-controlno-preview
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef4bb89367ca678f057d79b1abc45d6675b1bd5b2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/2597#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F2597
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F2597
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/2597
Reloadhttps://github.com/feast-dev/feast/issues/2597
Reloadhttps://github.com/feast-dev/feast/issues/2597
Please reload this pagehttps://github.com/feast-dev/feast/issues/2597
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.4k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 7.1k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 212 https://github.com/feast-dev/feast/issues
Pull requests 171 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality 1 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Stream transformationshttps://github.com/feast-dev/feast/issues/2597#top
https://github.com/kevjumba
https://github.com/felixwang9817
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
kind/projectA top level project to be tracked in GitHub Projectshttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fproject%22
priority/p0Highest priorityhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp0%22
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
https://github.com/adchia
adchiahttps://github.com/adchia
on Apr 21, 2022https://github.com/feast-dev/feast/issues/2597#issue-1211625292
push sourceshttps://docs.feast.dev/reference/data-sources/push
RFChttps://docs.google.com/document/d/1UzEyETHUaGpn0ap4G82DHluiCj7zEbrQLkJJkKSv4e8/edit
Feast Slack: #feast-feature-transformationshttps://tectonfeast.slack.com/archives/C03A2CH7GAG
felixwang9817https://github.com/felixwang9817
kevjumbahttps://github.com/kevjumba
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
kind/projectA top level project to be tracked in GitHub Projectshttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fproject%22
priority/p0Highest priorityhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp0%22
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
Feast Roadmaphttps://github.com/orgs/feast-dev/projects/2
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.