Title: to_ray_dataset as a first citizen method for retrieval_job · Issue #5568 · feast-dev/feast · GitHub
Open Graph Title: to_ray_dataset as a first citizen method for retrieval_job · Issue #5568 · feast-dev/feast
X Title: to_ray_dataset as a first citizen method for retrieval_job · Issue #5568 · feast-dev/feast
Description: we probably can make it a first citizen method for retrieval_job in future Originally posted by @HaoXuAI in #5526 (comment) from feast import FeatureStore store = FeatureStore(".") # Get historical features as Ray Dataset ds = store.get_...
Open Graph Description: we probably can make it a first citizen method for retrieval_job in future Originally posted by @HaoXuAI in #5526 (comment) from feast import FeatureStore store = FeatureStore(".") # Get historical...
X Description: we probably can make it a first citizen method for retrieval_job in future Originally posted by @HaoXuAI in #5526 (comment) from feast import FeatureStore store = FeatureStore(".") # Get ...
Opengraph URL: https://github.com/feast-dev/feast/issues/5568
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"to_ray_dataset as a first citizen method for retrieval_job","articleBody":"we probably can make it a first citizen method for retrieval_job in future\n\n_Originally posted by @HaoXuAI in https://github.com/feast-dev/feast/pull/5526#discussion_r2240629274_\n\n```\n\nfrom feast import FeatureStore\n\nstore = FeatureStore(\".\")\n\n# Get historical features as Ray Dataset\nds = store.get_historical_features(\n entity_df=entity_df,\n features=[\"embeddings:embedding\"],\n).to_ray_dataset() # ← Proposed new method\n\n# Now use Ray Data API directly\nds = ds.map_batches(custom_processing)\nds = ds.repartition(100)\npredictions = ds.map_batches(ModelInference, num_gpus=1)\n```\n\n```\nclass FeatureStore:\n \n def to_ray_dataset(\n self,\n source: Optional[DataSource] = None,\n feature_view: Optional[FeatureView] = None,\n start_date: Optional[datetime] = None,\n end_date: Optional[datetime] = None,\n ) -\u003e ray.data.Dataset:\n \"\"\"Convert Feast data source or feature view to Ray Dataset.\"\"\"\n ...\n \nclass RetrievalJob:\n \n def to_ray_dataset(self) -\u003e ray.data.Dataset:\n \"\"\"Convert retrieval result to Ray Dataset instead of Pandas.\"\"\"\n ...\n```\n ","author":{"url":"https://github.com/ntkathole","@type":"Person","name":"ntkathole"},"datePublished":"2025-08-16T04:29:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5568/feast/issues/5568"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ba11f4ad-8050-7ea2-bf8c-56659c3fa030 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9014:3E106E:8E5362:C8E8D4:696E6008 |
| html-safe-nonce | fdac6c997c3facb5e70cea858b31a71fdf2a4beda92484018b479124f5625a68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDE0OjNFMTA2RTo4RTUzNjI6QzhFOEQ0OjY5NkU2MDA4IiwidmlzaXRvcl9pZCI6IjEwMTExNDAxODIwNTM2NDIyNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b5a6847d15b6a66e774b83836702bb97607c7c96aca0b204dd44f87b67cefd12 |
| hovercard-subject-tag | issue:3326858698 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/feast-dev/feast/5568/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1362fb5cdf3bca99124d6cc450d18591eace4de6e4ec44f6d7ef994e081b647e/feast-dev/feast/issues/5568 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1362fb5cdf3bca99124d6cc450d18591eace4de6e4ec44f6d7ef994e081b647e/feast-dev/feast/issues/5568 |
| og:image:alt | we probably can make it a first citizen method for retrieval_job in future Originally posted by @HaoXuAI in #5526 (comment) from feast import FeatureStore store = FeatureStore(".") # Get historical... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ntkathole |
| hostname | github.com |
| expected-hostname | github.com |
| None | f68b42d371252b0f236260d6234f4304a806fe5ac43d59faa21fb59d80df103b |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6b74bc8dbcd10b5d69fd9ee9d2cfdc8b35e18a4c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width