Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing pwd as an argument does not work in databricks() #690

Closed
edgararuiz opened this issue Dec 18, 2023 · 0 comments · Fixed by #695
Closed

Passing pwd as an argument does not work in databricks() #690

edgararuiz opened this issue Dec 18, 2023 · 0 comments · Fixed by #695

Comments

@edgararuiz
Copy link
Contributor

Then passing pwd as an argument to databricks() I get the following error:

Error in .local(drv, ...) : 
  formal argument "pwd" matched by multiple actual arguments

Here is a reprex:

library(DBI)

con <- dbConnect(
  odbc::databricks(), 
  pwd = Sys.getenv("DIFFERENT_TOKEN"),
  httpPath = "/sql/1.0/warehouses/300bd24ba12adf8e"
  )

This occurs regardless if DATABRICKS_TOKEN is set or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant