odbc:::databricks_args(...)
at odbc/R/driver-databricks.R:78:5
Execution halted
This is because we use `.rs.api.getDatabricksToken()`, which isn't available in child processes. We should move to reading the file directly, like we now do for Snowflake.
This is a standalone issue to track the problem first reported for Snowflake by @chendaniely.
Given the following Quarto doc that picks up on Workbench-managed credentials just fine in the console:
processing file: databricks-demo.qmd |................................... | 67% [unnamed-chunk-1] Quitting from lines at lines 7-13 [unnamed-chunk-1] (databricks-demo.qmd) Error in
DBI::dbConnect()
: ! ✖ Failed to detect ambient Databricks credentials. ℹ Supplyuid
andpwd
to authenticate manually. Backtrace:Execution halted