Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
lint fixes in configuration
Signed-off-by: Chester Ong <chester.ong.ch@gmail.com>
  • Loading branch information
bushwhackr committed Feb 11, 2024
commit 2fa14b7ea3fef74ac899ac0cf86f7fdf8a642702
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@
"host": os.getenv("ROCKSET_APISERVER", "api.rs2.usw2.rockset.com"),
}

OFFLINE_STORE_TO_PROVIDER_CONFIG: Dict[str, DataSourceCreator] = {
OFFLINE_STORE_TO_PROVIDER_CONFIG = {
"file": ("local", FileDataSourceCreator),
"bigquery": ("gcp", BigQueryDataSourceCreator),
"redshift": ("aws", RedshiftDataSourceCreator),
"snowflake": ("aws", SnowflakeDataSourceCreator),
}

AVAILABLE_OFFLINE_STORES: List[Tuple[str, Type[DataSourceCreator]]] = [
AVAILABLE_OFFLINE_STORES: List[Tuple[str, Any]] = [
("local", FileDataSourceCreator),
]

Expand All @@ -118,13 +118,10 @@

# Only configure Cloud DWH if running full integration tests
if os.getenv("FEAST_IS_LOCAL_TEST", "False") != "True":
AVAILABLE_OFFLINE_STORES.extend(
[
("gcp", BigQueryDataSourceCreator),
("aws", RedshiftDataSourceCreator),
("aws", SnowflakeDataSourceCreator),
]
)

AVAILABLE_OFFLINE_STORES.append(("gcp", BigQueryDataSourceCreator))
AVAILABLE_OFFLINE_STORES.append(("aws", RedshiftDataSourceCreator))
AVAILABLE_OFFLINE_STORES.append(("aws", SnowflakeDataSourceCreator))

AVAILABLE_ONLINE_STORES["redis"] = (REDIS_CONFIG, None)
AVAILABLE_ONLINE_STORES["dynamodb"] = (DYNAMO_CONFIG, None)
Expand Down