Skip to content

Version 0.2.14

Latest

Choose a tag to compare

@zacdav-db zacdav-db released this 24 Jul 01:56
bb27397
  • Fixed OAuth U2M and M2M authentication across multiple Databricks workspaces in one R session by isolating OAuth clients and cached tokens per workspace (#256, @zacdav-db)
  • OAuth tokens are now refreshed 40 seconds before expiry, avoiding Databricks API rejections during the final 30 seconds of a token's lifetime; this requires {httr2} 1.3.0 or later (#258, @zacdav-db)
  • Added databricks-cli authentication support for profiles created by databricks auth login; {brickster} obtains tokens through databricks auth token, caches only the short-lived access token in memory, and leaves durable credentials and refresh to the CLI (#258, @zacdav-db)
  • Authentication mode overrides now come from auth_type in the selected .databrickscfg profile; replace DATABRICKS_AUTH_TYPE with the profile field. Environment-only authentication continues to infer the mode from available credentials (#258, @zacdav-db)
  • Fixed dbWriteTable() and dbAppendTable() standard-path writes for binary columns, which now use Databricks BINARY types and X'...' literals when no staging volume is configured (#246, @zacdav-db)
  • dbConnect() now preserves Databricks API error details when its validation query fails (#247, @zacdav)
  • db_perform_request() and db_perform_response() now preserve useful error messages when Databricks returns non-JSON error bodies such as empty, plain-text, or HTML responses (#247, @zacdav)
  • Fixed git_source() erroring when type was left at its default (#225, @m-muecke)
  • Fixed Unity Catalog volume file requests so db_volume_* paths containing spaces are encoded correctly (#233, @zacdav-db)
  • db_cluster_events() now forwards the event_types argument to the API, which was previously ignored (#236, @m-muecke)
  • db_sql_warehouse_create() and db_sql_warehouse_edit() now forward the tags argument to the API, which was previously ignored (#240, @m-muecke)
  • Unity Catalog list helpers now preserve next_page_token metadata in list responses for catalogs, schemas, tables, and volumes; their list arguments are sent as documented query parameters (#244, @zacdav-db)
  • db_uc_volumes_list() now forwards the max_results, include_browse, and page_token arguments to the API, which were previously ignored (#228, @m-muecke)
  • db_vs_indexes_query() now sends the score_threshold argument to the API, which was previously ignored (#235, @m-muecke)
  • Added show_progress to dbConnect() for the DBI backend; dbGetQuery(), dbFetch(), dbWriteTable(), and dbplyr collect() now use the connection default while preserving per-call show_progress overrides (#223, @zacdav-db)