Title: feat: Feast First-Class LabelView Implementation by ntkathole · Pull Request #6292 · feast-dev/feast · GitHub
Open Graph Title: feat: Feast First-Class LabelView Implementation by ntkathole · Pull Request #6292 · feast-dev/feast
X Title: feat: Feast First-Class LabelView Implementation by ntkathole · Pull Request #6292 · feast-dev/feast
Description: What this PR does / why we need it:
RFC - https://docs.google.com/document/d/1mcJM0sHeBk269oMIsLsLnAlrMtgnxn5Pws0oEeogc48/edit?usp=sharing
Summary
Introduces LabelView, a new alpha-stage Feast primitive that manages mutable labels and annotations separately from immutable feature data stored in regular FeatureViews. This supports multi-labeler workflows (human reviewers, automated safety scanners, reward models) where different sources independently write labels for the same entity keys.
LabelView is fully opt-in — existing workflows are unaffected unless a user explicitly defines one.
labelview_v2.mov
What's included
Core implementation (feast.labeling module)
LabelView class inheriting from BaseFeatureView, with label-specific attributes: labeler_field, conflict_policy, retain_history, reference_feature_view
ConflictPolicy enum (LAST_WRITE_WINS, LABELER_PRIORITY, MAJORITY_VOTE)
Protobuf definition (LabelView.proto) with LabelViewSpec, LabelViewMeta, and ConflictResolutionPolicy
Full SDK integration
FeatureStore.apply() — registers LabelViews, auto-registers their PushSource, validates name uniqueness across all view types
FeatureStore.push() — routes push data to LabelView when its PushSource matches
FeatureStore.get_historical_features() — works via batch_source/stream_source properties on LabelView
FeatureStore.teardown() — includes LabelView tables
FeatureStore.list_label_views() / get_label_view() — new public API methods
FeatureService composability — LabelViews can be included alongside regular feature views
Registry support (all backends)
File registry — full CRUD, apply_materialization, name-conflict checks
SQL registry — label_views table, _infer_fv_table/_infer_fv_classes support, proto() builder
Remote (gRPC) registry — label_view arm added to ApplyFeatureViewRequest oneof, full client + server wiring
Snowflake registry — DDL for LABEL_VIEWS table, correct column-name mapping in delete_feature_view
CLI
feast label-views list — lists all label views with name, entities, conflict policy
feast label-views describe
Open Graph Description: What this PR does / why we need it: RFC - https://docs.google.com/document/d/1mcJM0sHeBk269oMIsLsLnAlrMtgnxn5Pws0oEeogc48/edit?usp=sharing Summary Introduces LabelView, a new alpha-stage Feast prim...
X Description: What this PR does / why we need it: RFC - https://docs.google.com/document/d/1mcJM0sHeBk269oMIsLsLnAlrMtgnxn5Pws0oEeogc48/edit?usp=sharing Summary Introduces LabelView, a new alpha-stage Feast prim...
Opengraph URL: https://github.com/feast-dev/feast/pull/6292
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bafac273-8a80-034b-6051-28c8dc42bddd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C146:DBD6A:85A47:B0924:6A51116F |
| html-safe-nonce | 101b649a0ae9f302ad5496fe0d2e0c5c1924307108d9b433d3ae767e0092b00e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTQ2OkRCRDZBOjg1QTQ3OkIwOTI0OjZBNTExMTZGIiwidmlzaXRvcl9pZCI6IjE3MDgwOTExNTY2MTk5MjM4MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 922f75290f80e162b08979da4241140251aef4335a06ef2b961636b7c4fc072f |
| hovercard-subject-tag | pull_request:3543110730 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6292/files |
| twitter:image | https://avatars.githubusercontent.com/u/16951913?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/16951913?s=400&v=4 |
| og:image:alt | What this PR does / why we need it: RFC - https://docs.google.com/document/d/1mcJM0sHeBk269oMIsLsLnAlrMtgnxn5Pws0oEeogc48/edit?usp=sharing Summary Introduces LabelView, a new alpha-stage Feast prim... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f9137f6d981cbbfd780af369f80ce890b2d0d2d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width