We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4f5640 commit bc25477Copy full SHA for bc25477
src/webapp/config.py
@@ -15,6 +15,7 @@
15
"INITIAL_API_KEY_ID": "",
16
"CATALOG_NAME": "",
17
"SQL_WAREHOUSE_ID": "",
18
+ "GCP_CACHE_BUCKET": "",
19
}
20
21
# The INSTANCE_HOST is the private IP of CLoudSQL instance e.g. '127.0.0.1' ('172.17.0.1' if deployed to GAE Flex)
src/webapp/databricks.py
@@ -336,7 +336,7 @@ def fetch_table_data(
336
google_service_account=gcs_vars["GCP_SERVICE_ACCOUNT_EMAIL"],
337
)
338
339
- bucket_name = "edvise_databricks_results_api_cache"
+ bucket_name = databricks_vars["GCP_CACHE_BUCKET"]
340
schema = databricksify_inst_name(inst_name)
341
table_fqn = f"`{catalog_name}`.`{schema}_silver`.`{table_name}`"
342
sql = f"SELECT * FROM {table_fqn}"
0 commit comments