snowflakedb / gosnowflake

Go Snowflake Driver
Apache License 2.0
298 stars 124 forks source link

SNOW-1230690 Add UnsupportedArg check when requesting S3 accelerated … #1073

Closed sfc-gh-dheyman-1 closed 7 months ago

sfc-gh-dheyman-1 commented 7 months ago

…config

Description

In AWS China and US Gov partitions, Transfer Acceleration is not supported and when requested it returns "UnsupportedArgument" error. This PR introduces handling of this error.

Checklist

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 83.96%. Comparing base (7c2634a) to head (98941c8). Report is 1 commits behind head on master.

Files Patch % Lines
file_transfer_agent.go 0.00% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1073 +/- ## ========================================== - Coverage 84.00% 83.96% -0.04% ========================================== Files 50 50 Lines 9944 9954 +10 ========================================== + Hits 8353 8358 +5 - Misses 1591 1596 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.