GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — to_ray_dataset as a first citizen method for retrieval_job · Issue #5568 · feast-dev/feast

to_ray_dataset as a first citizen method for retrieval_job #5568

New issue
Copy link
New issue
Copy link
Closed
#6343
Closed
to_ray_dataset as a first citizen method for retrieval_job#5568
#6343
Copy link
Assignees
ntkathole
Labels
compute_engine

Description

@ntkathole
ntkathole
opened on Aug 16, 2025
Issue body actions

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_historical_features(
    entity_df=entity_df,
    features=["embeddings:embedding"],
).to_ray_dataset()  # ← Proposed new method

# Now use Ray Data API directly
ds = ds.map_batches(custom_processing)
ds = ds.repartition(100)
predictions = ds.map_batches(ModelInference, num_gpus=1)
class FeatureStore:
    
    def to_ray_dataset(
        self,
        source: Optional[DataSource] = None,
        feature_view: Optional[FeatureView] = None,
        start_date: Optional[datetime] = None,
        end_date: Optional[datetime] = None,
    ) -> ray.data.Dataset:
        """Convert Feast data source or feature view to Ray Dataset."""
        ...
    
class RetrievalJob:
    
    def to_ray_dataset(self) -> ray.data.Dataset:
        """Convert retrieval result to Ray Dataset instead of Pandas."""
        ...

Activity

  1. ntkathole
    added
    compute_engine
    on Aug 16, 2025
  2. ntkathole
    self-assigned this
    on Apr 28, 2026
  3. ntkathole
    closed this as completedin #6343on Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ntkathole
    ntkathole

Labels

compute_engine

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.