|
120 | 120 | from tests.universal.feature_repos.universal.data_sources.redshift import ( |
121 | 121 | RedshiftDataSourceCreator, |
122 | 122 | ) |
123 | | - from tests.universal.feature_repos.universal.data_sources.snowflake import ( |
124 | | - SnowflakeDataSourceCreator, |
125 | | - ) |
126 | 123 |
|
127 | 124 | AVAILABLE_OFFLINE_STORES.extend( |
128 | 125 | [ |
129 | 126 | ("gcp", BigQueryDataSourceCreator), |
130 | 127 | ("aws", RedshiftDataSourceCreator), |
131 | | - ("aws", SnowflakeDataSourceCreator), |
132 | 128 | ] |
133 | 129 | ) |
134 | 130 |
|
135 | 131 | OFFLINE_STORE_TO_PROVIDER_CONFIG["bigquery"] = ("gcp", BigQueryDataSourceCreator) |
136 | 132 | OFFLINE_STORE_TO_PROVIDER_CONFIG["redshift"] = ("aws", RedshiftDataSourceCreator) |
137 | | - OFFLINE_STORE_TO_PROVIDER_CONFIG["snowflake"] = ("aws", SnowflakeDataSourceCreator) |
138 | 133 |
|
139 | 134 | AVAILABLE_ONLINE_STORES["redis"] = (REDIS_CONFIG, None) |
140 | 135 | AVAILABLE_ONLINE_STORES["dynamodb"] = (DYNAMO_CONFIG, None) |
141 | 136 | AVAILABLE_ONLINE_STORES["datastore"] = ("datastore", None) |
142 | | - AVAILABLE_ONLINE_STORES["snowflake"] = (SNOWFLAKE_CONFIG, None) |
143 | 137 | AVAILABLE_ONLINE_STORES["bigtable"] = (BIGTABLE_CONFIG, None) |
144 | 138 | AVAILABLE_ONLINE_STORES["milvus"] = (MILVUS_CONFIG, None) |
145 | 139 |
|
| 140 | + # Snowflake is disabled temporarily |
| 141 | + if os.getenv("SNOWFLAKE_CI_DEPLOYMENT"): |
| 142 | + from tests.universal.feature_repos.universal.data_sources.snowflake import ( |
| 143 | + SnowflakeDataSourceCreator, |
| 144 | + ) |
| 145 | + |
| 146 | + AVAILABLE_OFFLINE_STORES.extend([("aws", SnowflakeDataSourceCreator)]) |
| 147 | + OFFLINE_STORE_TO_PROVIDER_CONFIG["snowflake"] = ( |
| 148 | + "aws", |
| 149 | + SnowflakeDataSourceCreator, |
| 150 | + ) |
| 151 | + AVAILABLE_ONLINE_STORES["snowflake"] = (SNOWFLAKE_CONFIG, None) |
| 152 | + |
146 | 153 |
|
147 | 154 | full_repo_configs_module = os.environ.get(FULL_REPO_CONFIGS_MODULE_ENV_NAME) |
148 | 155 | if full_repo_configs_module is not None: |
|
0 commit comments