GET
The SnowSQL GET command downloads data files from an internal stage (named, table, or user stage) to a local directory on a client machine. It is specifically designed to retrieve files that were previously unloaded into a stage (for example, via COPY INTO <location>).
COPY INTO [location]
While COPY INTO can unload table data into files (such as Parquet or CSV) in an internal or external stage, it does not directly deliver files to the client’s local filesystem. Instead, you first run COPY INTO to stage the files, then use GET to fetch them.
PUT
The PUT command is the inverse of GET: it uploads local files from the client machine to an internal stage. It cannot be used to download data.
DROP
DROP is unrelated to file transfer; it removes database objects (tables, stages, etc.) and is not used for data loading or unloading.
Thus, to download staged data files from Snowflake to your local environment, you must use the GET command.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Billhardy
1 week, 6 days ago