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
Copy file name to clipboardExpand all lines: docs/reference/data-sources/overview.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
3
3
## Functionality
4
4
5
-
In Feast, each batch data source is associated with a corresponding offline store.
6
-
For example, a `SnowflakeSource` can only be processed by the Snowflake offline store.
5
+
In Feast, each batch data source is associated with corresponding offline stores.
6
+
For example, a `SnowflakeSource` can only be processed by the Snowflake offline store, while a `FileSource` can be processed by both File and DuckDB offline stores.
7
7
Otherwise, the primary difference between batch data sources is the set of supported types.
8
8
Feast has an internal type system, and aims to support eight primitive types (`bytes`, `string`, `int32`, `int64`, `float32`, `float64`, `bool`, and `timestamp`) along with the corresponding array types.
9
9
However, not every batch data source supports all of these types.
The duckdb offline store provides support for reading [FileSources](../data-sources/file.md). It can read both Parquet and Delta formats. DuckDB offline store uses [ibis](https://ibis-project.org/) under the hood to convert offline store operations to DuckDB queries.
6
+
7
+
* Entity dataframes can be provided as a Pandas dataframe.
8
+
9
+
## Getting started
10
+
In order to use this offline store, you'll need to run `pip install 'feast[duckdb]'`.
11
+
12
+
## Example
13
+
14
+
{% code title="feature_store.yaml" %}
15
+
```yaml
16
+
project: my_project
17
+
registry: data/registry.db
18
+
provider: local
19
+
offline_store:
20
+
type: duckdb
21
+
online_store:
22
+
path: data/online_store.db
23
+
```
24
+
{% endcode %}
25
+
26
+
## Functionality Matrix
27
+
28
+
The set of functionality supported by offline stores is described in detail [here](overview.md#functionality).
29
+
Below is a matrix indicating which functionality is supported by the DuckDB offline store.
0 commit comments