Chapter 1. Snowflake Native App Framework
In Chapter 9, we learned how data sharing in Snowflake can occur between a data provider and consumer via the Snowflake Marketplace. The data sharing approach is such that the data flows in one direction, from a provider to a consumer. Native apps extend this model by allowing application code, in addition to data, to be shared from the provider to the consumer. The type of application code in a native app can include stored procedures, functions, or Snowpark Container Services.
A native app database is accessed by the consumer within their own Snowflake environment (Figure 1-1) just like a data share which is a database of data shared to a consumer’s Snowflake account. Security is maintained for both the provider and the consumer using Snowflake’s powerful role based access control (RBAC) model discussed in detail in Chapter 4. Thus, the only objects an app can access and the only privileges a native app can be given in a consumer’s account ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access