Issue Description and Expected Result
Right now if you're using an OAuth2 token instead of a username/password with certain drivers and the token expires, queries start returning errors.
Microsoft has a section on this in the ODBC 4.0 spec, and there's more precise detail in the documentation for the Databricks driver itself:


I'm wondering if it's possible to catch these errors, refresh the tokens (if possible), and retry the query automatically.
Database
Databricks, but potentially others.
Reproducible Example
I'm not sure I can provide a reproducible example for this, it's transient and requires all of the OAuth2 stuff to be set up.
Session Info
devtools::session_info()
#> output