Skip to content
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

feat: Add Rockset as an OnlineStore #3405

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
* [PostgreSQL (contrib)](reference/online-stores/postgres.md)
* [Cassandra + Astra DB (contrib)](reference/online-stores/cassandra.md)
* [MySQL (contrib)](reference/online-stores/mysql.md)
* [Rockset (contrib)](reference/online-stores/rockset.md)
* [Providers](reference/providers/README.md)
* [Local](reference/providers/local.md)
* [Google Cloud Platform](reference/providers/google-cloud-platform.md)
Expand Down
4 changes: 4 additions & 0 deletions docs/reference/online-stores/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ Please see [Online Store](../../getting-started/architecture-and-components/onli
[mysql.md](mysql.md)
{% endcontent-ref %}

{% content-ref url="mysql.md" %}
[rockset.md](rockset.md)
{% endcontent-ref %}

38 changes: 38 additions & 0 deletions docs/reference/online-stores/rockset.md
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
danielin917 marked this conversation as resolved.
Show resolved Hide resolved

```
{
"_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
```
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:
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Subpackages
feast.infra.online_stores.contrib.cassandra_online_store
feast.infra.online_stores.contrib.hbase_online_store
feast.infra.online_stores.contrib.mysql_online_store
feast.infra.online_stores.contrib.rockset_online_store

Submodules
----------
Expand Down Expand Up @@ -54,6 +55,14 @@ feast.infra.online\_stores.contrib.postgres\_repo\_configuration module
:undoc-members:
:show-inheritance:

feast.infra.online\_stores.contrib.rockset\_repo\_configuration module
----------------------------------------------------------------------

.. automodule:: feast.infra.online_stores.contrib.rockset_repo_configuration
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

Expand Down
Loading