You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[x][Custom online store support](https://docs.feast.dev/how-to-guides/customizing-feast/adding-support-for-a-new-online-store)
212
231
***Feature Engineering**
213
232
*[x] On-demand Transformations (On Read) (Beta release. See [RFC](https://docs.google.com/document/d/1lgfIw0Drc65LpaxbUu49RCeJgMew547meSJttnUqz7c/edit#))
Athena data sources are AWS Athena tables or views.
6
+
These can be specified either by a table reference or a SQL query.
7
+
8
+
## Disclaimer
9
+
10
+
The Athena data source does not achieve full test coverage.
11
+
Please do not assume complete stability.
12
+
13
+
## Examples
14
+
15
+
Defining an Athena source:
16
+
17
+
```python
18
+
from feast.infra.offline_stores.contrib.athena_offline_store.athena_source import (
19
+
AthenaSource,
20
+
)
21
+
22
+
driver_stats_source = AthenaSource(
23
+
name="driver_hourly_stats",
24
+
table="driver_hourly_stats",
25
+
database="my_database",
26
+
data_source="AwsDataCatalog",
27
+
timestamp_field="event_timestamp",
28
+
created_timestamp_column="created",
29
+
)
30
+
```
31
+
32
+
The full set of configuration options is available [here](https://rtd.feast.dev/en/master/#feast.infra.offline_stores.contrib.athena_offline_store.athena_source.AthenaSource).
33
+
34
+
## Supported Types
35
+
36
+
Athena data sources support standard Athena types mapped through the AWS Athena API.
37
+
For a comparison against other batch data sources, please see [here](overview.md#functionality-matrix).
The Athena offline store provides support for reading [AthenaSources](../data-sources/athena.md).
6
+
* Entity dataframes can be provided as a SQL query or can be provided as a Pandas dataframe.
7
+
8
+
## Disclaimer
9
+
10
+
The Athena offline store does not achieve full test coverage.
11
+
Please do not assume complete stability.
12
+
13
+
## Getting started
14
+
In order to use this offline store, you'll need to run `pip install 'feast[aws]'`.
15
+
16
+
## Example
17
+
18
+
{% code title="feature_store.yaml" %}
19
+
```yaml
20
+
project: my_project
21
+
registry: data/registry.db
22
+
provider: local
23
+
offline_store:
24
+
type: athena
25
+
data_source: AwsDataCatalog
26
+
region: us-east-1
27
+
database: my_database
28
+
workgroup: primary
29
+
online_store:
30
+
path: data/online_store.db
31
+
```
32
+
{% endcode %}
33
+
34
+
The full set of configuration options is available in [AthenaOfflineStoreConfig](https://rtd.feast.dev/en/master/#feast.infra.offline_stores.contrib.athena_offline_store.athena.AthenaOfflineStoreConfig).
35
+
36
+
## Functionality Matrix
37
+
38
+
The set of functionality supported by offline stores is described in detail [here](overview.md#functionality).
39
+
Below is a matrix indicating which functionality is supported by the Athena offline store.
The [Faiss](https://github.com/facebookresearch/faiss) online store provides support for materializing feature values and performing vector similarity search using Facebook AI Similarity Search (Faiss). Faiss is a library for efficient similarity search and clustering of dense vectors, making it well-suited for use cases involving embeddings and nearest-neighbor lookups.
6
+
7
+
## Getting started
8
+
In order to use this online store, you'll need to install the Faiss dependency. E.g.
**Note:** Faiss is not registered as a named online store type. You must use the fully qualified class path as the `type` value.
29
+
30
+
The full set of configuration options is available in [FaissOnlineStoreConfig](https://rtd.feast.dev/en/master/#feast.infra.online_stores.faiss_online_store.FaissOnlineStoreConfig).
31
+
32
+
## Functionality Matrix
33
+
34
+
The set of functionality supported by online stores is described in detail [here](overview.md#functionality).
35
+
Below is a matrix indicating which functionality is supported by the Faiss online store.
The [HBase](https://hbase.apache.org/) online store provides support for materializing feature values into an Apache HBase database for serving online features in real-time.
6
+
7
+
* Each feature view is mapped to an HBase table
8
+
* Connects to HBase via the Thrift server using [happybase](https://happybase.readthedocs.io/)
9
+
10
+
## Getting started
11
+
In order to use this online store, you'll need to run `pip install 'feast[hbase]'`.
12
+
13
+
## Example
14
+
15
+
{% code title="feature_store.yaml" %}
16
+
```yaml
17
+
project: my_feature_repo
18
+
registry: data/registry.db
19
+
provider: local
20
+
online_store:
21
+
type: hbase
22
+
host: localhost
23
+
port: "9090"
24
+
connection_pool_size: 4# optional
25
+
protocol: binary # optional
26
+
transport: buffered # optional
27
+
```
28
+
{% endcode %}
29
+
30
+
The full set of configuration options is available in [HbaseOnlineStoreConfig](https://rtd.feast.dev/en/master/#feast.infra.online_stores.hbase_online_store.hbase.HbaseOnlineStoreConfig).
31
+
32
+
## Functionality Matrix
33
+
34
+
The set of functionality supported by online stores is described in detail [here](overview.md#functionality).
35
+
Below is a matrix indicating which functionality is supported by the HBase online store.
0 commit comments