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
feat: Postgres supported as Registry, Online store, and Offline store (#2401)
* Feast-postgres added to Feast repo
Signed-off-by: Gunnar Sv Sigurbjörnsson <[email protected]>
* Add a template for postgres to allow feast init -t postgres
Signed-off-by: Gunnar Sv Sigurbjörnsson <[email protected]>
* Split contrib repo configuration to separate file for each
Signed-off-by: Gunnar Sv Sigurbjörnsson <[email protected]>
* Moved the postgres type maps into feast.type_map
Signed-off-by: Gunnar Sv Sigurbjörnsson <[email protected]>
* Upgrade to latest feast, get postgres tests running, pip lock files
Signed-off-by: Gunnar Sv Sigurbjörnsson <[email protected]>
* Fix setup.py
Signed-off-by: Kevin Zhang <[email protected]>
* Fix the ci requirements
Signed-off-by: Kevin Zhang <[email protected]>
* Fix repo_config for rest of sources
Signed-off-by: Kevin Zhang <[email protected]>
* Make backwards compatible with python 3.8-
Signed-off-by: Kevin Zhang <[email protected]>
* Fix
Signed-off-by: Kevin Zhang <[email protected]>
* Fix
Signed-off-by: Kevin Zhang <[email protected]>
* address comments
Signed-off-by: Danny Chiao <[email protected]>
* update lock files
Signed-off-by: Danny Chiao <[email protected]>
* fix
Signed-off-by: Danny Chiao <[email protected]>
* lock files
Signed-off-by: Danny Chiao <[email protected]>
* fix
Signed-off-by: Danny Chiao <[email protected]>
* cleanup
Signed-off-by: Danny Chiao <[email protected]>
* missed refactor name
Signed-off-by: Danny Chiao <[email protected]>
* Remove snowflake references from test.py for postgres
Signed-off-by: Gunnar Sv Sigurbjörnsson <[email protected]>
* update repo to match new API
Signed-off-by: Danny Chiao <[email protected]>
* Add documentation
Signed-off-by: Danny Chiao <[email protected]>
* rename utils
Signed-off-by: Danny Chiao <[email protected]>
* update roadmap docs
Signed-off-by: Danny Chiao <[email protected]>
* update documentation
Signed-off-by: Danny Chiao <[email protected]>
Co-authored-by: Kevin Zhang <[email protected]>
Co-authored-by: Kevin Zhang <[email protected]>
Co-authored-by: Danny Chiao <[email protected]>
**NOTE**: The Postgres plugin is a contrib plugin. This means it may not be fully stable.
6
+
7
+
8
+
The PostgreSQL data source allows for the retrieval of historical feature values from a PostgreSQL database for building training datasets as well as materializing features into an online store.
9
+
10
+
## Examples
11
+
12
+
Defining a Postgres source
13
+
14
+
```python
15
+
from feast.infra.offline_stores.contrib.postgres_offline_store.postgres_source import (
The PostgreSQL offline store is an offline store that provides support for reading [PostgreSQL](../data-sources/postgres.md) data sources.
6
+
7
+
8
+
**DISCLAIMER**: This PostgreSQL offline store still does not achieve full test coverage.
9
+
10
+
* Entity dataframes can be provided as a SQL query or can be provided as a Pandas dataframe. Pandas dataframes will be converted to a Spark dataframe and processed as a temporary view.
11
+
* A `SparkRetrievalJob` is returned when calling `get_historical_features()`.
12
+
* This allows you to call
13
+
*`to_df` to retrieve the pandas dataframe.
14
+
*`to_arrow` to retrieve the dataframe as a PyArrow table.
0 commit comments