Snowflake SnowSQL AttributeError when staging local files - Stack Overflow

I'm trying to load files in local env to snowflake named stage using snowsql.I keep getting this

I'm trying to load files in local env to snowflake named stage using snowsql.

I keep getting this error but am having hard time figuring out what's wrong.

The file is in the path, and snowsql is able to access the source (since it shows source_size). What could be a possible cause of the error?

SnowSQL code:

PUT file:///tmp/load/cities.parquet @project_stage;

Error message:

AttributeError("'TypeError' object has no attribute 'errno'")

The error message doesn't really tell anything.

I'm trying to load files in local env to snowflake named stage using snowsql.

I keep getting this error but am having hard time figuring out what's wrong.

The file is in the path, and snowsql is able to access the source (since it shows source_size). What could be a possible cause of the error?

SnowSQL code:

PUT file:///tmp/load/cities.parquet @project_stage;

Error message:

AttributeError("'TypeError' object has no attribute 'errno'")

The error message doesn't really tell anything.

Share Improve this question edited Mar 9 at 7:41 Simeon Pilgrim 26.2k3 gold badges36 silver badges50 bronze badges asked Mar 8 at 10:25 gigigigi 1 1
  • Try using SnowSQL 1.3.3 and check if this fixes the issue else please generate the debug logs for further review. – Tushar Kathpal Commented Apr 14 at 11:19
Add a comment  | 

1 Answer 1

Reset to default 0

You're likely not seeing the actual error because the client couldn't handle it and generated this one instead. This is a good candidate for a Support ticket, but in the meantime, you can try the following:

1- Ensure you're using an up-to-date SnowSQL client. If not, please update it.

2- Enable logging to see the detailed error information:

snowsql -o log_level=DEBUG -o log_file=/tmp/snowsql_debug.log

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744898297a4599829.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信