SYSTEM$IS_LISTING_TRIAL

functionnot supportedNative apps, listings & sharingpreview

docs.snowflake.com ↗

System functions

Limits the functionality of a Snowflake Native App based on whether a consumer is trialing the application as part of a Limited trial listings or has access to the full data product. Returns TRUE if the consumer account is trialing the data product as part of a limited trial listing, otherwise returns FALSE. Use this system function in a secure view, secure UDF, or Streamlit app to manage access to the functionality of your Snowflake Native App and display certain output only to consumers with access to the full data product. Caution Do not use this system function to limit access to functionality for consumers trialing a paid listing. Instead, use SYSTEM$IS_LISTING_PURCHASED. This function infers the listing associated with the application package that contains the secure view, secure UDF, or Streamlit app, and determines whether the account running the query is trialing the listing as part of a limited trial listing. For more details, see Limit functionality of your Snowflake Native App for trial consumers.

Syntax

SYSTEM$IS_LISTING_TRIAL()

Returns

The function returns a value of type BOOLEAN.