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

BUGFIX for #193: Populate options.host when account is inferred #202 (try #2) #251

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

thedwitter
Copy link

I think I corrupted my first attempt at this pull request so I'm trying again.

This is my first PR so please be gentle!! My company uses Snowflake internally and I'm excited to contribute!

I took a look at #193 and noticed the root cause seems to be that options.host is typically inferred from options.accounts, and so when options.accounts is inferred from the options.accessUrl it will remain unset and result in a crash starting with 1.6.2. The fix is to also set options.host when inferring the options.account.

I've also added a test case.

~ Matt

SimbaGithub and others added 8 commits January 13, 2022 20:53
* Check if command being executed is GET

* Add GET functionality to file transfer agent

* Add GET functionality to remote storage util

* Add download function to S3 client

* Fix decryption when downloading more than one file

* Add Azure client for GET

* Add GCS client for GET

* Add local client for GET

* Add testing for GET command

* Add temp debug msg

* Remove temp debug msg

* Modify GET query on Windows OS
* Update/add request-related dependencies

* Update/add request-related dependencies
…1.6.6 (snowflakedb#245) (snowflakedb#246)

@noreview - This is an automated process. No review is required.

Co-authored-by: Jenkins User <snowflake-provisioner>
Added test case to reproduce failure. Set hostname from accessURL when account
is inferred.
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 this pull request may close these issues.

3 participants