CREATE ORGANIZATION LISTING
statementpartialNative apps, listings & sharingCreate an organization listing to share data products securely within your organization.
Syntax
supportedpartialnot supportednot scored
CREATE ORGANIZATION LISTING [ IF NOT EXISTS ] <name>
[ { SHARE <share_name> | APPLICATION PACKAGE <package_name> } ]
AS '<yaml_manifest_string>'
[ PUBLISH = { TRUE | FALSE } ]
CREATE ORGANIZATION LISTING [ IF NOT EXISTS ] <name>
[ { SHARE <share_name> | APPLICATION PACKAGE <package_name> } ]
FROM '<yaml_manifest_stage_location>'
[ PUBLISH = { TRUE | FALSE } ]
Parameters
| Name | Required | Description |
|---|---|---|
name | Specifies the identifier (name) for the listing. It must conform to the following: Must be unique within an account, regardless of which Snowflake Region the account is located in. The Uniform Listing Locator (ULL) must be unique within an organization. Cannot contain embedded dollar signs. Must conform to Snowflake identifier requirements. See Identifier requirements. | |
FROM 'yaml_manifest_stage_location' | Specifies the path for the internal stage or Git repository clone manifest.yml file. | |
SHARE share_name | Specifies the identifier for the share to attach to the listing. | |
APPLICATION PACKAGE package_name | Specifies the application package attached to the listing. See also SHOW APPLICATION PACKAGES. | |
AS 'yaml_manifest_string' | The YAML manifest for the organization profile. For manifest field details and examples, see Organization listing manifest reference. Manifests are normally provided as dollar-quoted strings. For more information, see Dollar-quoted string constants. | |
PUBLISH = { TRUE | FALSE } | Specifies how to publish the listing. If TRUE, the listing is published to the Internal Marketplace immediately. Default: TRUE. |
Usage notes
- Listings created using CREATE ORGANIZATION LISTING … are automatically published.
Access control requirements
A role used to execute this SQL command must have at least one of the following privileges at a minimum: Privilege | Object | Notes CREATE ORGANIZATION LISTING or CREATE LISTING | Account | Required. Either privilege lets you create organization listings. OWNERSHIP or ATTACH LISTING | Application package | Required in addition to the account privilege, but only when attaching an application package (Snowflake Native App Framework) instead of a share. You can’t create a listing by using the GLOBALORGADMIN role, which is used for organization administration. To mount an organization listing, or to query one by using its Uniform Listing Locator (ULL), consumers need the IMPORT ORGANIZATION LISTING privilege. This privilege isn’t required to create a listing. See Reference organizational listings in queries.
Known gaps
- IF NOT EXISTS, APPLICATION PACKAGE are not exercised by any test