Neal Fultz
Neal Fultz
Environment variables *are* used, but when the rJava process is started (one of the librarys AWR.Athena uses), it keeps it's own copy of the environment, so changing R's copy will...
See also #20 and #21 for a discussion of how auth chain works with the JVM. You might try setting java properties. Alternatively, you might try running R in a...
If you are trying to auth using environment variables, they need to be set before the JVM forks to a seperate process, otherwise they are only set on the R...
You are brave / lucky that you got `aws` and `AWR` packages working together, they have completely different designs. If you do write an Athena-based wrapper, I would recommend using...
Can you check the full environment (`Sys.getenv()`) after you do get_session_toekn(use=TRUE), but before you attach AWR.Athena? My hunch is that the aws package is setting a full set of env...
Right now creds are fetched in Java, not passed through via R: https://github.com/nfultz/AWR.Athena/blob/e871e7c92781cf51b8edfd399f3f2e738ad2e637/R/athena.R#L77 If you can place different profiles into the default .aws/credentials file, can you try setting AWS_PROFILE, or...
@daroczig I think credentials provider is not loaded until dbConnect. But it always good advice to set env vars early, because once the processes fork, they can't affect each other...
@Respondi can you rerun your example, and then run `traceback()` and `sessionInfo()` and post the output here?
I think the root cause is that the driver has changed and now no longer returns how many rows were affected - this is likely because it doesn't want to...
@Respondi I've uploaded the 2.0.7 version to CRAN - can you `update.packages` to install it and try again?