snowflakedb/snowflake-cli

SNOW-1006232: Snow object stage copy fails with unhelpful error

Closed this issue · 1 comments

SnowCLI version

2.0.0-alpha.1 (also tried with 1.1.0)

Python version

3.8.15

Platform

macOS-14.2.1-arm64-arm-64bit

What happened

When downloading a list of files from a stage, it successfully downloaded most of the files, and then failed with an unhelpful error that doesn't allow me to see what file actually failed or why.

Tried with 1.1.0 as well, and got the same error.

My ideal solution would be:

  • The error message shares exactly what file caused the failure
  • This failure would not happen

Console output

253002: 253002: While getting file(s) there was an error: 'FileNotFoundError(2, 'No such file or directory')', this might be caused by your access to the blob storage provider, or by Snowflake.

How to reproduce

It's not entirely clear what failed, so it's hard to share a reproducible example.

Seems to be an error of the connector, not snowcli