SNOW-1887537: GET
only works from AWS, not from Azure or GCP
#1079
Labels
bug
status-fixed_awaiting_release
The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector.
status-triage_done
Initial triage done, will be further handled by the driver team
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of .NET driver are you using?
4.2.0
What operating system and processor architecture are you using?
macOS Sequoia 15.1, ARM (M2 processor)
What version of .NET framework are you using?
.NET 8.0
What did you do?
I ran a GET query to download a file from an Internal stage using SnowflakeDbCommand.ExecuteReader().
What did you expect to see?
I expected the file to download. Instead, the query threw the following exception:
The issue seems to arise from line 175 of SFSnowflakeAzureClient.cs:
digest = response.Metadata["sfcdigest"],
The
digest
property is being set in a FileHeader constructor from the Metadata dictionary. The Metadata dictionary never receives this value, and it doesn't appear thedigest
property of FileHeader is used anywhere else in the codebase.When I remove line 175, the GET query successfully downloads the file.
My Snowflake account is on the Azure cloud, in the East US 2 region. I don't know if this issue is limited to Azure cloud, or whether it affects other cloud clients.
The text was updated successfully, but these errors were encountered: