File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515driver = " databricks"
16+ environment = " azure-prod"
1617
1718[lang ]
1819go = true
20+
21+ [secrets ]
22+ DATABRICKS_HOST = { secret = " DATABRICKS_HOST" , contexts = [" validate" ] }
23+ DATABRICKS_ACCESSTOKEN = { secret = " DATABRICKS_TOKEN" , contexts = [" validate" ] }
24+ DATABRICKS_HTTPPATH = { secret = " TEST_PECO_WAREHOUSE_HTTP_PATH" , contexts = [" validate" ] }
Original file line number Diff line number Diff line change @@ -49,7 +49,11 @@ class DatabricksQuirks(model.DriverQuirks):
4949 )
5050 setup = model .DriverSetup (
5151 database = {
52- "uri" : model .FromEnv ("DATABRICKS_URI" ),
52+ "DATABRICKS_HOST" : model .FromEnv ("DATABRICKS_HOST" ),
53+ "DATABRICKS_ACCESSTOKEN" : model .FromEnv ("DATABRICKS_ACCESSTOKEN" ),
54+ "DATABRICKS_HTTPPATH" : model .FromEnv ("DATABRICKS_HTTPPATH" ),
55+ "DATABRICKS_CATALOG" : "main" ,
56+ "DATABRICKS_SCHEMA" : "adbc_testing" ,
5357 },
5458 connection = {},
5559 statement = {},
You can’t perform that action at this time.
0 commit comments