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
1 Answer
Reset to default 0You'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条)