-
Notifications
You must be signed in to change notification settings - Fork 999
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
ff66784
commit a799056
Showing
18 changed files
with
691 additions
and
0 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,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 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.