snowsql PUT 命令

snowsql PUT command

我正在尝试通过 Mac 上的 snowsql 终端加载 user.csv 文件,但出现此错误,而且我知道 csv 文件没有任何问题

CBILONG#COMPUTE_WH@REVIEWS.PUBLIC>put file:///Macintosh HD\Users\Documents\users.csv @~/staged;
001003 (42000): SQL compilation error:                                          
parse error line 1 at position 25 near '85'.
parse error line 1 at position 31 near '68'.
parse error line 1 at position 41 near '117'.
syntax error line 1 at position 42 unexpected 'sers'.
syntax error line 1 at position 46 unexpected '.'.
syntax error line 1 at position 51 unexpected '@~/staged'.

看起来这只是斜杠与反斜杠的问题,您的路径中不需要 Macintosh HD

尝试

CBILONG#COMPUTE_WH@REVIEWS.PUBLIC>put file:///Users/Documents/users.csv @~/staged;