Support for typed features in grpc write request

Open
#6,117 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
grpc, python

Research direction

Locate the gRPC WriteToOnlineRequest definition and the ValueProto type, then trace the client and server handling of the current features map. The work is done when writes can accept typed feature values without requiring JSON string serialization, with coverage for complex values such as arrays, maps, or structs.

Written by the indexing model from the issue text.

Description

kind/feature

Is your feature request related to a problem? Please describe.
Currently, for grpc WriteToOnlineRequest, features map is written as Map<String, String> to feast feature server. This makes it impossible to write any complex types (array, map, struct).

Describe the solution you'd like
We should be able to alternatively write Map<String, ValueProto> to feast feature server for writes.

Describe alternatives you've considered
Possibly write JSON formatted strings but would require client to serialize and server to deserialize which is wasteful from PROTO perspective

Dominant language
Python
Stars
7.4k
Forks
1.5k
Avg merge
2d 6h
Merged PRs (30d)
107

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from feast-dev/feast

All issues in feast-dev/feast

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.