Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding saved dataset capabilities for Postgres (#3070)
* feat: Adding saved dataset capabilities for Postgres Signed-off-by: Danny Chiao <danny@tecton.ai> Signed-off-by: alex.eijssen <alex.eijssen@energyessentials.nl> Co-authored-by: Danny Chiao <danny@tecton.ai> Co-authored-by: alex.eijssen <alex.eijssen@energyessentials.nl>
- Loading branch information
1 parent
36747aa
commit d3253c3
Showing
5 changed files
with
177 additions
and
52 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
6 changes: 5 additions & 1 deletion
6
sdk/python/feast/infra/offline_stores/contrib/postgres_repo_configuration.py
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 |
---|---|---|
@@ -1,7 +1,11 @@ | ||
from feast.infra.offline_stores.contrib.postgres_offline_store.tests.data_source import ( | ||
PostgreSQLDataSourceCreator, | ||
) | ||
from tests.integration.feature_repos.repo_configuration import REDIS_CONFIG | ||
from tests.integration.feature_repos.universal.online_store.redis import ( | ||
RedisOnlineStoreCreator, | ||
) | ||
|
||
AVAILABLE_OFFLINE_STORES = [("local", PostgreSQLDataSourceCreator)] | ||
|
||
AVAILABLE_ONLINE_STORES = {"postgres": (None, PostgreSQLDataSourceCreator)} | ||
AVAILABLE_ONLINE_STORES = {"redis": (REDIS_CONFIG, RedisOnlineStoreCreator)} |
10 changes: 10 additions & 0 deletions
10
sdk/python/feast/infra/online_stores/contrib/postgres_repo_configuration.py
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,10 @@ | ||
from feast.infra.offline_stores.contrib.postgres_offline_store.tests.data_source import ( | ||
PostgreSQLDataSourceCreator, | ||
) | ||
from tests.integration.feature_repos.integration_test_repo_config import ( | ||
IntegrationTestRepoConfig, | ||
) | ||
|
||
FULL_REPO_CONFIGS = [ | ||
IntegrationTestRepoConfig(online_store_creator=PostgreSQLDataSourceCreator), | ||
] |