1. Snowflake Documentation: CREATE PIPE
The official syntax for the CREATE PIPE command explicitly shows that the FROM clause in the embedded COPY statement can reference an internal stage, an external stage, or a user stage.
Source: Snowflake Documentation, "CREATE PIPE".
Reference: In the "Syntax" section, the copystatement is defined as COPY INTO FROM { @[.][/] | @[.][/] | @~[/] }. This syntax confirms that internal stages are a valid source.
2. Snowflake Documentation: "Calling the Snowpipe REST Endpoints to Load Data"
This document describes the process of using the REST API. It states that the insertFiles endpoint "notifies Snowpipe that a set of data files is ready to be loaded from the stage defined in the pipe." This clarifies that the API triggers a pipe, and the pipe's definition dictates the source stage.
Source: Snowflake Documentation, "User Guide > Data Loading > Loading Continuously Using Snowpipe > Automating Snowpipe with REST Endpoints".
Reference: Section "insertFiles Endpoint".
3. Snowflake Documentation: "Overview of Snowpipe"
This page distinguishes between the two methods for triggering Snowpipe. The first method, "Automating Snowpipe using cloud messaging," is tied to external stages. The second method is "Calling Snowpipe REST endpoints," which is presented as a distinct alternative for triggering a data load. This separation implies different operational capabilities and requirements.
Source: Snowflake Documentation, "User Guide > Data Loading > Loading Continuously Using Snowpipe > Introduction to Snowpipe".
Reference: Section "Snowpipe Methods for Loading Data".