roeap commented on issue #4047:
URL: https://github.com/apache/arrow-rs/issues/4047#issuecomment-1504019478

   > doesn't 'from_env' imply that most creds, options will come from env and 
that env vars should be preferred?
   
   It might :) - but from what I see there is no way to tell the user intent 
inside the proposed `parse_url` function. I.e. we would be making the decision 
to call `from_env`, not the user. If I as a user pass in configuration for a 
specific credential, I would expect that to be used, and not overwritten by the 
environment.
   
   I guess thats why it might just be best to just let the caller figure that 
out, to keep things simpler for now. If we see a solution emerging in several 
protects, we can still move that upstream?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to