You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

为何无法在Snowflake Web界面Worksheet中使用PUT、GET命令进行内部阶段的加载/卸载操作?

Why PUT/GET Commands Aren't Supported in Snowflake Web UI Worksheet

Great question! Let’s break down the key reasons why you can’t use PUT and GET to interact with internal stages directly in Snowflake’s Web UI Worksheet, and why SnowSQL is required for these operations:

  • Browser Security & Architecture Limitations
    The Web UI Worksheet runs entirely within your browser, which enforces strict security policies to protect your local system. Browsers can’t directly access or manipulate files on your local machine (due to same-origin policies and sandboxing). PUT/GET commands require reading from or writing to your local filesystem—something the browser simply can’t do safely or directly. SnowSQL, on the other hand, is a local desktop client that runs outside the browser sandbox, so it has full access to your local files and can handle the file transfer process securely.

  • PUT/GET Are Client-Side, Not Server-Side SQL Commands
    Unlike standard SQL statements (like SELECT, COPY INTO) that execute entirely on Snowflake’s servers, PUT and GET are client-side commands. They rely on the client (SnowSQL) to handle file encryption, transfer to/from Snowflake’s cloud storage, and local file system operations. The Web Worksheet only sends server-executable SQL to Snowflake’s engine—it doesn’t have the client-side logic needed to process local files for these commands.

  • Web UI Alternatives for Stage Operations
    While you can’t use PUT/GET in the Worksheet, the Snowflake Web UI does offer a graphical way to interact with internal stages:

    • Navigate to Databases > [Your Database] > Stages
    • Select your internal stage, then use the Upload Files button to add local files (instead of PUT)
    • To download files from the stage, select the files and click Download (instead of GET)

This design choice balances security, functionality, and the constraints of browser-based applications. SnowSQL fills the gap for scriptable, command-line-based local file interactions with Snowflake stages.

内容的提问来源于stack exchange,提问作者underflow

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.30 17:23:12