-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: Add Rockset as an OnlineStore #3405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
feast-ci-bot
merged 1 commit into
feast-dev:master
from
danielin917:add_rockset_as_online_store
Feb 9, 2023
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Rockset (contrib) | ||
|
|
||
| ## Description | ||
|
|
||
| In Alpha Development. | ||
|
|
||
| The [Rockset](https://rockset.com/demo-signup/) online store provides support for materializing feature values within a Rockset collection for serving online features in real-time. | ||
|
|
||
| * Each document is uniquely identified by its '_id' value. Repeated inserts into the same document '_id' will result in an upsert. | ||
|
|
||
| Rockset indexes all columns allowing for quick per feature look up and also allows for a dynamic typed schema that can change based on any new requirements. ApiKeys can be found in the console | ||
| along with host urls which you can find in "View Region Endpoint Urls". | ||
|
|
||
| Data Model Used Per Doc | ||
|
|
||
| ``` | ||
| { | ||
| "_id": (STRING) Unique Identifier for the feature document. | ||
| <key_name>: (STRING) Feature Values Mapped by Feature Name. Feature | ||
| values stored as a serialized hex string. | ||
| .... | ||
| "event_ts": (STRING) ISO Stringified Timestamp. | ||
| "created_ts": (STRING) ISO Stringified Timestamp. | ||
| } | ||
| ``` | ||
|
|
||
|
|
||
| ## Example | ||
|
|
||
| ```yaml | ||
| project: my_feature_app | ||
| registry: data/registry.db | ||
| provider: local | ||
| online_stores | ||
| type: rockset | ||
| apikey: MY_APIKEY_HERE | ||
| host: api.usw2a1.rockset.com | ||
| ``` | ||
21 changes: 21 additions & 0 deletions
21
sdk/python/docs/source/feast.infra.online_stores.contrib.rockset_online_store.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| feast.infra.online\_stores.contrib.rockset\_online\_store package | ||
| ================================================================= | ||
|
|
||
| Submodules | ||
| ---------- | ||
|
|
||
| feast.infra.online\_stores.contrib.rockset\_online\_store.rockset module | ||
| ------------------------------------------------------------------------ | ||
|
|
||
| .. automodule:: feast.infra.online_stores.contrib.rockset_online_store.rockset | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: | ||
|
|
||
| Module contents | ||
| --------------- | ||
|
|
||
| .. automodule:: feast.infra.online_stores.contrib.rockset_online_store | ||
| :members: | ||
| :undoc-members: | ||
| :show-inheritance: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.