-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds Rockset as a contributed online store. It implements the Update, Teardown, Read and Write apis using the Rockset pythonn client. Signed-off-by: Daniel Lin <[email protected]>
- Loading branch information
1 parent
1d3c111
commit 2b6c591
Showing
17 changed files
with
1,065 additions
and
399 deletions.
There are no files selected for viewing
This file contains 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 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 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,36 @@ | ||
# Rockset | ||
|
||
## Description | ||
|
||
*Alpha Development | ||
|
||
The [Rockset](https://rockset.com/demo-signup/) online store provides supports for materializing feature values within a Rockset collection for serving online features in real-time. | ||
|
||
* Each document is uniquely identified by it's _id value. Repeated inerts into the same document 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 serialized hex string. | ||
.... | ||
"event_ts": (STRING) -- ISO Stringified Timestamp | ||
"created_ts": (STRING) -- ISO Stringified Timestamp | ||
} | ||
|
||
|
||
## Example | ||
|
||
{% code title="feature_store.yaml" %} | ||
```yaml | ||
project: my_feature_app | ||
registry: data/registry.db | ||
provider: local | ||
online_stores | ||
type: rockset | ||
apikey: MY_APIKEY_HERE | ||
host: api.usw2a1.rockset.com | ||
``` | ||
{% encode %} |
21 changes: 21 additions & 0 deletions
21
sdk/python/docs/source/feast.infra.online_stores.contrib.rockset_online_store.rst
This file contains 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 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.