Functions

All 1405 documented functions, by Snowflake's categories.

Account Usage table functions (1)Aggregate functions (91)Bitwise expression functions (10)Conditional expression functions (25)Context functions (53)Conversion functions (51)Data generation functions (10)Data metric functions (325)Date & time functions (50)Differential privacy functions (3)Encryption functions (6)File functions (26)Geospatial functions (101)Hash functions (1)IPADDRESS functions (3)Information Schema (63)LOCAL schema (2)Metadata functions (2)Model monitor functions (3)Notification functions (6)Numeric functions (37)Organization user and organization user group functions (2)Period functions (14)Semi-structured and structured data functions (102)String & binary functions (109)String functions (regular expressions) (8)System functions (299)Table functions (103)Table functions (Tables) (1)Uncategorized (1)Vector functions (10)Window function syntax and usage (36)Window functions (48)Not in the SQL reference (44)

Account Usage table functions (1)

FunctionSupportAreaDescription
TAG_REFERENCES_WITH_LINEAGEsupportedGovernance (policies, tags, data quality)Returns a table in which each row displays an association between the specified tag and the Snowflake object to which the tag is associated.

Aggregate functions (91)

FunctionSupportAreaDescription
ACCUMULATEsupportedCore SQL functionsReturns a custom aggregate value computed by four user-defined SQL lambda functions: initialize, accumulate, combine, and terminate. ACCUMULATE follows the…
AGGsupportedCore SQL functionsEvaluates and returns the value of a metric in a semantic view when you run a query.
AI_AGGdeferredAI & MLReduces a column of text data using a natural language instruction.
AI_SUMMARIZE_AGGdeferredAI & MLSummarizes a column of text data.
ANY_VALUEsupportedCore SQL functionsReturns some value of the expression from the group. The result is non-deterministic.
APPROXIMATE_JACCARD_INDEXsupportedCore SQL functionsReturns an estimation of the similarity (Jaccard index) of inputs based on their MinHash states. For more information about Jaccard indexes and the related…
APPROXIMATE_SIMILARITYsupportedCore SQL functionsReturns an estimation of the similarity (Jaccard index) of inputs based on their MinHash states. For more information about MinHash states, see Estimating…
APPROX_COUNT_DISTINCTsupportedCore SQL functionsUses HyperLogLog to return an approximation of the distinct cardinality of the input (i.e. HLL(col1, col2, ... ) returns an approximation of COUNT(DISTINCT…
APPROX_PERCENTILEsupportedCore SQL functionsReturns an approximated value for the desired percentile (that is, if column c has n numbers, APPROX_PERCENTILE(c, p) returns a number such that approximately…
APPROX_PERCENTILE_ACCUMULATEsupportedCore SQL functionsReturns the internal representation of the t-Digest state (as a JSON object) at the end of aggregation. (For more information about t-Digest, see: Estimating…
APPROX_PERCENTILE_COMBINEsupportedCore SQL functionsCombines (merges) percentile input states into a single output state.
APPROX_PERCENTILE_ESTIMATEsupportedCore SQL functionsReturns the desired approximated percentile value for the specified t-Digest state.
APPROX_TOP_KsupportedCore SQL functionsUses Space-Saving to return an approximation of the most frequent values in the input, along with their approximate frequencies.
APPROX_TOP_K_ACCUMULATEsupportedCore SQL functionsReturns the Space-Saving summary at the end of aggregation. (For more information about the Space-Saving summary, see Estimating Frequent Values.)
APPROX_TOP_K_COMBINEsupportedCore SQL functionsCombines (merges) input states into a single output state.
APPROX_TOP_K_ESTIMATEsupportedCore SQL functionsReturns the approximate most frequent values and their estimated frequency for the given Space-Saving state. (For more information about the Space-Saving…
ARRAY_AGGsupportedCore SQL functionsReturns the input values, pivoted into an array. If the input is empty, the function returns an empty array.
ARRAY_SUMsupportedCore SQL functionsAggregates a column of structured ARRAY values by summing them element by element. The value at each position in the result is the sum of the values at that…
ARRAY_UNION_AGGsupportedCore SQL functionsReturns an ARRAY that contains the union of the distinct values from the input arrays in a column. You can use this to aggregate distinct values in arrays…
ARRAY_UNIQUE_AGGsupportedCore SQL functionsReturns an ARRAY that contains all of the distinct values from the specified column.
AVGsupportedCore SQL functionsReturns the average of non-NULL records. If all records inside a group are NULL, the function returns NULL.
BITAND_AGGsupportedCore SQL functionsReturns the bitwise AND value of all non-NULL numeric records in a group.
BITMAP_ABSOLUTE_POSITIONsupportedCore SQL functionsComputes the absolute bit position from a bucket number and a relative bit position. This is the inverse of the BITMAP_BUCKET_NUMBER and BITMAP_BIT_POSITION…
BITMAP_ANDsupportedCore SQL functionsReturns a bitmap that is the result of a bitwise AND operation on two input bitmaps.
BITMAP_AND_AGGsupportedCore SQL functionsReturns a bitmap that is the result of a bitwise AND operation on all input bitmaps in a group (intersection).
BITMAP_BIT_POSITIONsupportedCore SQL functionsGiven a numeric value, returns the relative position for the bit that represents that value in a bitmap.
BITMAP_BUCKET_NUMBERsupportedCore SQL functionsGiven a numeric value, returns an identifier (“bucket number”) for the bitmap containing the bit that represents the value..
BITMAP_CONSTRUCT_AGGsupportedCore SQL functionsReturns a bitmap with bits set for each distinct value in a group.
BITMAP_COUNTsupportedCore SQL functionsGiven a bitmap that represents the set of distinct values for a column, returns the number of distinct value.
BITMAP_ORsupportedCore SQL functionsReturns a bitmap that is the result of a bitwise OR operation on two input bitmaps.
BITMAP_OR_AGGsupportedCore SQL functionsReturns a bitmap containing the results of a binary OR operation on the input bitmaps.
BITMAP_TO_ARRAYsupportedCore SQL functionsReturns an ARRAY containing the positions of all bits that are set in the input bitmap.
BITOR_AGGsupportedCore SQL functionsReturns the bitwise OR value of all non-NULL numeric records in a group.
BITXOR_AGGsupportedCore SQL functionsReturns the bitwise XOR value of all non-NULL numeric records in a group.
BOOLAND_AGGsupportedCore SQL functionsReturns TRUE if all non-NULL Boolean records in a group evaluate to TRUE.
BOOLOR_AGGsupportedCore SQL functionsReturns TRUE if at least one Boolean record in a group evaluates to TRUE.
BOOLXOR_AGGsupportedCore SQL functionsReturns TRUE if exactly one Boolean record in the group evaluates to TRUE.
CORRsupportedCore SQL functionsReturns the correlation coefficient for non-null pairs in a group. It is computed for non-null pairs using the following formula:
COUNTsupportedCore SQL functionsReturns either the number of non-NULL records for the specified columns, or the total number of records.
COUNT_IFsupportedCore SQL functionsReturns the number of records that satisfy a condition or NULL if no records satisfy the condition.
COVAR_POPsupportedCore SQL functionsReturns the population covariance for non-null pairs in a group. It is computed for non-null pairs using the following formula:
COVAR_SAMPsupportedCore SQL functionsReturns the sample covariance for non-null pairs in a group. It is computed for non-null pairs using the following formula:
DATASKETCHES_HLLsupportedCore SQL functionsReturns an approximation of the distinct cardinality of the input (that is, DATASKETCHES_HLL(col1) returns an approximation of COUNT(DISTINCT col1)).
DATASKETCHES_HLL_ACCUMULATEsupportedCore SQL functionsReturns the sketch at the end of aggregation.
DATASKETCHES_HLL_COMBINEsupportedCore SQL functionsCombines (merges) input sketches into a single output sketch.
DATASKETCHES_HLL_ESTIMATEsupportedCore SQL functionsReturns the cardinality estimate for the given sketch.
GROUPINGsupportedCore SQL functionsDescribes which of a list of expressions are grouped in a row produced by a GROUP BY query.
GROUPING_IDsupportedCore SQL functionsDescribes which of a list of expressions are grouped in a row produced by a GROUP BY query.
HASH_AGGsupportedCore SQL functionsReturns an aggregate signed 64-bit hash value over the (unordered) set of input rows. HASH_AGG never returns NULL, even if no input is provided. Empty input…
HLLsupportedCore SQL functionsUses HyperLogLog to return an approximation of the distinct cardinality of the input (i.e. HLL(col1, col2, ... ) returns an approximation of COUNT(DISTINCT…
HLL_ACCUMULATEsupportedCore SQL functionsReturns the HyperLogLog state at the end of aggregation.
HLL_COMBINEsupportedCore SQL functionsCombines (merges) input states into a single output state.
HLL_ESTIMATEsupportedCore SQL functionsReturns the cardinality estimate for the given HyperLogLog state.
HLL_EXPORTsupportedCore SQL functionsConverts input in BINARY format to OBJECT format.
HLL_IMPORTsupportedCore SQL functionsConverts input in OBJECT format to BINARY format.
KURTOSISsupportedCore SQL functionsReturns the sample excess kurtosis of non-NULL records. If all records inside a group are NULL, the function returns NULL.
LISTAGGsupportedCore SQL functionsReturns the concatenated input values, separated by the delimiter string.
MAXsupportedCore SQL functionsReturns the maximum value for the records within expr. NULL values are ignored unless all the records are NULL, in which case a NULL value is returned.
MAX_BYsupportedCore SQL functionsFinds the row(s) containing the maximum value for a column and returns the value of another column in that row.
MEDIANsupportedCore SQL functionsDetermines the median of a set of values.
MINsupportedCore SQL functionsReturns the minimum value for the records within expr. NULL values are ignored unless all the records are NULL, in which case a NULL value is returned.
MINHASHsupportedCore SQL functionsReturns a MinHash state containing an array of size k constructed by applying k number of different hash functions to the input rows and keeping the minimum of…
MINHASH_COMBINEsupportedCore SQL functionsCombines input MinHash states into a single MinHash output state. This Minhash state can then be input to the APPROXIMATE_SIMILARITY function to estimate the…
MIN_BYsupportedCore SQL functionsFinds the row(s) containing the minimum value for a column and returns the value of another column in that row.
MODEsupportedCore SQL functionsReturns the most frequent value for the values within expr1. NULL values are ignored. If all the values are NULL, or there are 0 rows, then the function…
OBJECT_AGGsupportedCore SQL functionsReturns one OBJECT per group. For each (key, value) input pair, where key must be a VARCHAR and value must be a VARIANT, the resulting OBJECT contains a…
PERCENTILE_CONTsupportedCore SQL functionsReturn a percentile value based on a continuous distribution of the input column (specified in order_by_expr). If no input row lies exactly at the desired…
PERCENTILE_DISCsupportedCore SQL functionsReturns a percentile value based on a discrete distribution of the input column (specified in order_by_expr). The returned value is that whose row has the…
REGR_AVGXsupportedCore SQL functionsReturns the average of the independent variable for non-null pairs in a group, where x is the independent variable and y is the dependent variable.
REGR_AVGYsupportedCore SQL functionsReturns the average of the dependent variable for non-null pairs in a group, where x is the independent variable and y is the dependent variable.
REGR_COUNTsupportedCore SQL functionsReturns the number of non-null number pairs in a group.
REGR_INTERCEPTsupportedCore SQL functionsReturns the intercept of the univariate linear regression line for non-null pairs in a group. It is computed for non-null pairs using the following formula:
REGR_R2supportedCore SQL functionsReturns the coefficient of determination for non-null pairs in a group. It is computed for non-null pairs using the following formula:
REGR_SLOPEsupportedCore SQL functionsReturns the slope of the linear regression line for non-null pairs in a group. It is computed for non-null pairs using the following formula:
REGR_SXXsupportedCore SQL functionsReturns REGR_COUNT(y, x) * VAR_POP(x) for non-null pairs.
REGR_SXYsupportedCore SQL functionsReturns REGR_COUNT(expr1, expr2) * COVAR_POP(expr1, expr2) for non-null pairs.
REGR_SYYsupportedCore SQL functionsReturns REGR_COUNT(y, x) * VAR_POP(y) for non-null pairs.
SKEWsupportedCore SQL functionsReturns the sample skewness of non-NULL records. If all records inside a group are NULL, the function returns NULL.
STDDEVsupportedCore SQL functionsReturns the sample standard deviation (square root of sample variance) of non-NULL values. STDDEV and STDDEV_SAMP are aliases for the same function.
STDDEV_POPsupportedCore SQL functionsReturns the population standard deviation (square root of variance) of non-NULL values.
STDDEV_SAMPsupportedCore SQL functionsReturns the sample standard deviation (square root of sample variance) of non-NULL values. STDDEV and STDDEV_SAMP are aliases for the same function.
SUMsupportedCore SQL functionsReturns the sum of non-NULL records for expr. You can use the DISTINCT keyword to compute the sum of unique non-null values. If all records inside a group are…
VARIANCEsupportedCore SQL functionsReturns the sample variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.
VARIANCE_POPsupportedCore SQL functionsReturns the population variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.
VARIANCE_SAMPsupportedCore SQL functionsReturns the sample variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.
VAR_POPsupportedCore SQL functionsReturns the population variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.
VAR_SAMPsupportedCore SQL functionsReturns the sample variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.
VECTOR_AVGsupportedAI & MLComputes the element-wise average of vectors in an aggregate. Returns a vector where each element is the average of the corresponding elements across all input…
VECTOR_MAXsupportedAI & MLComputes the element-wise maximum of vectors in an aggregate. Returns a vector where each element is the maximum of the corresponding elements across all input…
VECTOR_MINsupportedAI & MLComputes the element-wise minimum of vectors in an aggregate. Returns a vector where each element is the minimum of the corresponding elements across all input…
VECTOR_SUMsupportedAI & MLComputes the element-wise sum of vectors in an aggregate. Returns a vector where each element is the sum of the corresponding elements across all input vectors.

Bitwise expression functions (10)

FunctionSupportAreaDescription
BITANDsupportedCore SQL functionsReturns the bitwise AND of two numeric or binary expressions.
BITAND_AGGsupportedCore SQL functionsReturns the bitwise AND value of all non-NULL numeric records in a group.
BITNOTsupportedCore SQL functionsReturns the bitwise negation of a numeric or binary expression.
BITORsupportedCore SQL functionsReturns the bitwise OR of two numeric or binary expressions.
BITOR_AGGsupportedCore SQL functionsReturns the bitwise OR value of all non-NULL numeric records in a group.
BITSHIFTLEFTsupportedCore SQL functionsShifts the bits for a numeric or binary expression n positions to the left.
BITSHIFTRIGHTsupportedCore SQL functionsShifts the bits for a numeric or binary expression n positions to the right.
BITXORsupportedCore SQL functionsReturns the bitwise XOR of two numeric or binary expressions.
BITXOR_AGGsupportedCore SQL functionsReturns the bitwise XOR value of all non-NULL numeric records in a group.
GETBITsupportedCore SQL functionsGiven an INTEGER value, returns the value of a bit at a specified position.

Conditional expression functions (25)

FunctionSupportAreaDescription
BOOLANDsupportedCore SQL functionsComputes the Boolean AND of two numeric expressions. In accordance with Boolean semantics:
BOOLAND_AGGsupportedCore SQL functionsReturns TRUE if all non-NULL Boolean records in a group evaluate to TRUE.
BOOLNOTsupportedCore SQL functionsComputes the Boolean NOT of a single numeric expression. In accordance with Boolean semantics:
BOOLORsupportedCore SQL functionsComputes the Boolean OR of two numeric expressions. In accordance with Boolean semantics:
BOOLOR_AGGsupportedCore SQL functionsReturns TRUE if at least one Boolean record in a group evaluates to TRUE.
BOOLXORsupportedCore SQL functionsComputes the Boolean XOR of two numeric expressions; that is, one of the expressions, but not both expressions, is true. In accordance with Boolean semantics:
BOOLXOR_AGGsupportedCore SQL functionsReturns TRUE if exactly one Boolean record in the group evaluates to TRUE.
CASEsupportedCore SQL functionsWorks like a cascading “if-then-else” statement. In the more general form, a series of conditions are evaluated in sequence. When a condition evaluates to…
COALESCEsupportedCore SQL functionsReturns the first non-NULL expression among its arguments, or NULL if all its arguments are NULL.
DECODEsupportedCore SQL functionsCompares the select expression to each search expression in order. As soon as a search expression matches the selection expression, the corresponding result…
EQUAL_NULLsupportedCore SQL functionsCompares whether two expressions are equal. The function is NULL-safe, meaning it treats NULLs as known values for comparing equality. Note that this is…
GREATESTsupportedCore SQL functionsReturns the largest value from a list of expressions. GREATEST supports all data types, including VARIANT.
GREATEST_IGNORE_NULLSsupportedCore SQL functionsReturns the largest non-NULL value from a list of expressions. GREATEST_IGNORE_NULLS supports all data types, including VARIANT.
IFFsupportedCore SQL functionsReturns one of two values depending on whether a Boolean expression evaluates to true or false. This function is similar to a single-level if-then-else…
IFNULLsupportedCore SQL functionsIf expr1 is NULL, returns expr2, otherwise returns expr1.
IS_NULL_VALUEsupportedCore SQL functionsThis family of functions serves as Boolean predicates that can be used to determine the data type of a value stored in a VARIANT column:
LEASTsupportedCore SQL functionsReturns the smallest value from a list of expressions. LEAST supports all data types, including VARIANT.
LEAST_IGNORE_NULLSsupportedCore SQL functionsReturns the smallest non-NULL value from a list of expressions. LEAST_IGNORE_NULLS supports all data types, including VARIANT.
NULLIFsupportedCore SQL functionsReturns NULL if expr1 is equal to expr2, otherwise returns expr1.
NULLIFZEROsupportedCore SQL functionsReturns NULL if the argument evaluates to 0; otherwise, returns the argument.
NVLsupportedCore SQL functionsIf expr1 is NULL, returns expr2, otherwise returns expr1.
NVL2supportedCore SQL functionsReturns values depending on whether the first input is NULL:
REGR_VALXsupportedCore SQL functionsReturns NULL if the first argument is NULL; otherwise, returns the second argument.
REGR_VALYsupportedCore SQL functionsReturns NULL if the second argument is NULL; otherwise, returns the first argument.
ZEROIFNULLsupportedCore SQL functionsReturns 0 if its argument is null; otherwise, returns its argument.

Context functions (53)

FunctionSupportAreaDescription
ALL_USER_NAMESsupportedAccounts, users, sessions, warehousesReturns all user names in the current account.
CURRENT_ACCOUNTsupportedAccounts, users, sessions, warehousesReturns the account locator used by the user’s current session.
CURRENT_ACCOUNT_NAMEsupportedAccounts, users, sessions, warehousesReturns the name of the current account.
CURRENT_AVAILABLE_ROLESpartialAccess control (grants, roles)Returns a list of all account-level roles granted to the current user. The list includes all roles that are granted directly to the user plus all account-level…
CURRENT_CLIENTsupportedAccounts, users, sessions, warehousesReturns the version of the client from which the function was called. If called from an application using the JDBC or ODBC driver to connect to Snowflake,…
CURRENT_DATABASEsupportedAccounts, users, sessions, warehousesReturns the name of the current database, which varies depending on where you call the function:
CURRENT_DATEsupportedCore SQL functionsReturns the current date of the system.
CURRENT_IP_ADDRESSsupportedAccounts, users, sessions, warehousesReturns the IPv4 address of the client that submitted the request.
CURRENT_ORGANIZATION_NAMEsupportedAccounts, users, sessions, warehousesReturns the name of the organization to which the current account belongs.
CURRENT_ORGANIZATION_USERsupportedAccounts, users, sessions, warehousesReturns the name of the user currently logged into the system, but only if the user is an organization user.
CURRENT_REGIONsupportedAccounts, users, sessions, warehousesReturns the name of the region for the account where the current user is logged in.
CURRENT_ROLEsupportedAccess control (grants, roles)Returns the name of the primary role in use for the current session when the primary role is an account-level role or NULL if the role in use for the current…
CURRENT_ROLE_TYPEsupportedAccess control (grants, roles)Calling the CURRENT_ROLE_TYPE function returns ROLE if the current active (primary) role in the session is an account role. Calling the CURRENT_ROLE_TYPE…
CURRENT_SCHEMAsupportedAccounts, users, sessions, warehousesReturns the name of the current schema, which varies depending on where you call the function:
CURRENT_SCHEMASsupportedAccounts, users, sessions, warehousesReturns active search path schemas.
CURRENT_SECONDARY_ROLESsupportedAccess control (grants, roles)Returns the secondary roles in use for the current session.
CURRENT_SESSIONsupportedAccounts, users, sessions, warehousesReturns a unique system identifier for the Snowflake session corresponding to the present connection. This will generally be a system-generated alphanumeric…
CURRENT_STATEMENTsupportedAccounts, users, sessions, warehousesReturns the SQL text of the statement that is currently executing.
CURRENT_TIMEsupportedCore SQL functionsReturns the current time for the system.
CURRENT_TIMESTAMPsupportedCore SQL functionsReturns the current timestamp for the system in the local time zone.
CURRENT_TRANSACTIONsupportedAccounts, users, sessions, warehousesReturns the transaction id of an open transaction in the current session.
CURRENT_USERsupportedAccounts, users, sessions, warehousesReturns the name of the user currently logged into the system.
CURRENT_VERSIONsupportedAccounts, users, sessions, warehousesReturns the current Snowflake version.
CURRENT_WAREHOUSEsupportedAccounts, users, sessions, warehousesReturns the name of the warehouse in use for the current session.
GETDATEsupportedCore SQL functionsReturns the current timestamp for the system in the local time zone.
GETVARIABLEsupportedUDFs, procedures, tasks, alerts, scriptingReturns the value associated with a SQL variable name.
GET_CONDITION_QUERY_UUIDsupportedUDFs, procedures, tasks, alerts, scriptingReturns the query ID for the SQL statement executed for the condition of an alert. In the action for an alert, you can call this function to check the results…
GET_CONFIGURATION_VALUEsupportedNative apps, listings & sharingReturns the current value for the specified configuration.
INVOKER_ROLEsupportedAccess control (grants, roles)Returns the name of the account-level role of the object executing the query or NULL if the name of the role is a database role.
INVOKER_SHAREsupportedNative apps, listings & sharingReturns the name of the share that directly accessed the table or view where the INVOKER_SHARE function is invoked, otherwise the function returns NULL.
IS_AGENT_ACTIVATEDsupportedAccounts, users, sessions, warehousesReturns the VARCHAR value 'TRUE' if an agent is active in the current execution context, or 'FALSE' if no agent is active.
IS_APPLICATION_ROLE_ACTIVATEDsupportedAccess control (grants, roles)Returns the VARCHAR value 'TRUE' if an application role is activated in the specified context.
IS_APPLICATION_ROLE_IN_SESSIONsupportedAccess control (grants, roles)Verifies whether the application role is activated in the consumer’s current session.
IS_CONFIGURATION_SETsupportedNative apps, listings & sharingReturns the VARCHAR value 'TRUE' if the specified configuration has a value set, that is, the configuration’s status is DONE. Returns FALSE if the…
IS_DATABASE_ROLE_ACTIVATEDsupportedAccess control (grants, roles)Returns the VARCHAR value 'TRUE' if a database role is activated. You can check activation in the session context or in the current execution context.
IS_DATABASE_ROLE_IN_SESSIONsupportedAccess control (grants, roles)Verifies whether the database role is in the user’s active primary or secondary role hierarchy for the current session or if the specified column contains a…
IS_GRANTED_TO_INVOKER_ROLEsupportedAccess control (grants, roles)Returns TRUE if the role returned by the INVOKER_ROLE function inherits the privileges of the specified role in the argument based on the context in which the…
IS_GROUP_ACTIVATEDsupportedAccounts, users, sessions, warehousesReturns the VARCHAR value 'TRUE' if the role representing an organization user group is activated in a given context.
IS_GROUP_IMPORTEDsupportedAccounts, users, sessions, warehousesReturns the VARCHAR value 'TRUE' if the specified group is an organization user group that was imported into the current account.
IS_INSTANCE_ROLE_IN_SESSIONsupportedAccess control (grants, roles)Verifies whether the user’s active primary or secondary role hierarchy for the session inherits the specified instance role.
IS_ORGANIZATION_USER_GROUP_IN_SESSIONsupportedAccounts, users, sessions, warehousesAssuming a role was imported from an organization user group, verifies whether the role is in the user’s active primary or secondary role hierarchy for the…
IS_ROLE_ACTIVATEDsupportedAccess control (grants, roles)Returns the VARCHAR value 'TRUE' if an account role is activated. You can check one role or several roles in a single call, and you can check activation in the…
IS_ROLE_IN_SESSIONsupportedAccess control (grants, roles)Verifies whether the specified account role is in the currently active primary or secondary role hierarchy.
IS_USER_IMPORTEDsupportedAccounts, users, sessions, warehousesReturns the VARCHAR value 'TRUE' if the specified user is an organization user that was imported into the current account.
LAST_QUERY_IDsupportedQueries & DMLReturns the ID of a specified query in the current session. If no query is specified, the most recent query is returned.
LAST_TRANSACTIONsupportedQueries & DMLReturns the transaction ID of the last transaction that was either committed or rolled back in the current session.
LOCALTIMEsupportedCore SQL functionsReturns the current time for the system.
LOCALTIMESTAMPsupportedCore SQL functionsReturns the current timestamp for the system in the local time zone.
POLICY_CONTEXTsupportedGovernance (policies, tags, data quality)Simulates the results of a query based on the value of one or more context functions or SYS_CONTEXT namespace properties, which lets you determine how policies…
SET_SYS_CONTEXTsupportedAccounts, users, sessions, warehousesSets a value for a specified key in a specified namespace that can be retrieved later using SYS_CONTEXT.
SYSDATEsupportedCore SQL functionsReturns the current timestamp for the system in the UTC time zone.
SYSTIMESTAMPsupportedCore SQL functionsReturns the current timestamp for the system.
SYS_CONTEXTsupportedAccounts, users, sessions, warehousesReturns information about the context in which the function is called.

Conversion functions (51)

FunctionSupportAreaDescription
CASTsupportedCore SQL functionsConverts a value of one data type into another data type. The semantics of CAST are the same as the semantics of the corresponding TO_ datatype conversion…
DATEsupportedCore SQL functionsConverts an input expression to a date:
ST_GEOGFROMGEOHASHsupportedCore SQL functionsReturns a GEOGRAPHY object for the polygon that represents the boundaries of a geohash.
ST_GEOGPOINTFROMGEOHASHsupportedCore SQL functionsReturns a GEOGRAPHY object for the Point that represents the center of a geohash.
ST_GEOGRAPHYFROMWKBsupportedCore SQL functionsParses a WKB (well-known binary) or EWKB (extended well-known binary) input and returns a value of type GEOGRAPHY.
ST_GEOGRAPHYFROMWKTsupportedCore SQL functionsParses a WKT (well-known text) or EWKT (extended well-known text) input and returns a value of type GEOGRAPHY.
ST_GEOMETRYFROMWKBsupportedCore SQL functionsParses a WKB (well-known binary) or EWKB (extended well-known binary) input and returns a value of type GEOMETRY.
ST_GEOMETRYFROMWKTsupportedCore SQL functionsParses a WKT (well-known text) or EWKT (extended well-known text) input and returns a value of type GEOMETRY.
TIMEsupportedCore SQL functionsConverts an input expression into a time.
TO_ARRAYsupportedCore SQL functionsConverts the input expression to an ARRAY value.
TO_BINARYsupportedCore SQL functionsConverts the input expression to a binary value. For NULL input, the output is NULL.
TO_BOOLEANsupportedCore SQL functionsConverts the input text or numeric expression to a BOOLEAN value.
TO_CHARsupportedCore SQL functionsConverts the input expression to a string. For NULL input, the output is NULL.
TO_DATEsupportedCore SQL functionsConverts an input expression to a date:
TO_DECFLOATsupportedCore SQL functionsConverts an expression to a decimal floating-point number (DECFLOAT).
TO_DECIMALsupportedCore SQL functionsConverts an input expression to a fixed-point number.
TO_DOUBLEsupportedCore SQL functionsConverts an expression to a double-precision floating-point number.
TO_GEOGRAPHYsupportedCore SQL functionsParses an input and returns a value of type GEOGRAPHY.
TO_GEOMETRYpartialCore SQL functionsParses an input and returns a value of type GEOMETRY.
TO_IPADDRESSsupportedCore SQL functionsConverts the input expression to an IPADDRESS value.
TO_JSONsupportedCore SQL functionsConverts a VARIANT value to a string containing the JSON representation of the value.
TO_NUMBERsupportedCore SQL functionsConverts an input expression to a fixed-point number.
TO_NUMERICsupportedCore SQL functionsConverts an input expression to a fixed-point number.
TO_OBJECTsupportedCore SQL functionsConverts the input value to an OBJECT:
TO_TIMEsupportedCore SQL functionsConverts an input expression into a time.
TO_TIMESTAMPsupportedCore SQL functionsConverts an input expression into the corresponding timestamp:
TO_TIMESTAMP_LTZsupportedCore SQL functionsConverts an input expression into the corresponding timestamp:
TO_TIMESTAMP_NTZsupportedCore SQL functionsConverts an input expression into the corresponding timestamp:
TO_TIMESTAMP_TZsupportedCore SQL functionsConverts an input expression into the corresponding timestamp:
TO_UUIDsupportedCore SQL functionsConverts the input expression to a UUID value.
TO_VARCHARsupportedCore SQL functionsConverts the input expression to a string. For NULL input, the output is NULL.
TO_VARIANTsupportedCore SQL functionsConverts any value to a VARIANT value or NULL (if input is NULL).
TO_XMLsupportedCore SQL functionsConverts a VARIANT to a VARCHAR that contains an XML representation of the value. If the input is NULL, the result is also NULL.
TRY_CASTsupportedCore SQL functionsA special version of CAST , :: that is available for a subset of data type conversions. It performs the same operation (i.e. converts a value of one data type…
TRY_TO_BINARYsupportedCore SQL functionsA special version of TO_BINARY that performs the same operation (i.e. converts an input expression to a binary value), but with error handling support (i.e. if…
TRY_TO_BOOLEANsupportedCore SQL functionsA special version of TO_BOOLEAN that performs the same operation (that is, converts an input expression to a Boolean value), but with error-handling support.…
TRY_TO_DATEsupportedCore SQL functionsA special version of the TO_DATE function that performs the same operation (i.e. converts an input expression to a date), but with error-handling support (i.e.…
TRY_TO_DECFLOATsupportedCore SQL functionsA special version of TO_DECFLOAT that performs the same operation — that is, converts an input expression to a DECFLOAT — but with error-handling support. If…
TRY_TO_DECIMALsupportedCore SQL functionsA special version of TO_DECIMAL , TO_NUMBER , TO_NUMERIC that performs the same operation of converting an input expression to a fixed-point number, but has…
TRY_TO_DOUBLEsupportedCore SQL functionsA special version of TO_DOUBLE that performs the same operation (that is, converts an input expression to a double-precision floating-point number), but with…
TRY_TO_GEOGRAPHYsupportedCore SQL functionsParses an input and returns a value of type GEOGRAPHY.
TRY_TO_GEOMETRYsupportedCore SQL functionsParses an input and returns a value of type GEOMETRY.
TRY_TO_IPADDRESSsupportedCore SQL functionsA special version of TO_IPADDRESS that performs the same operation (converts an input expression to an IPADDRESS value) but with error-handling support. If the…
TRY_TO_NUMBERsupportedCore SQL functionsA special version of TO_DECIMAL , TO_NUMBER , TO_NUMERIC that performs the same operation of converting an input expression to a fixed-point number, but has…
TRY_TO_NUMERICsupportedCore SQL functionsA special version of TO_DECIMAL , TO_NUMBER , TO_NUMERIC that performs the same operation of converting an input expression to a fixed-point number, but has…
TRY_TO_TIMEsupportedCore SQL functionsA special version of TO_TIME , TIME that performs the same operation (i.e. converts an input expression into a time), but with error-handling support (i.e. if…
TRY_TO_TIMESTAMPsupportedCore SQL functionsA special version of TO_TIMESTAMP / TO_TIMESTAMP_* that performs the same operation (i.e. converts an input expression into a timestamp), but with…
TRY_TO_TIMESTAMP_LTZsupportedCore SQL functionsA special version of TO_TIMESTAMP / TO_TIMESTAMP_* that performs the same operation (i.e. converts an input expression into a timestamp), but with…
TRY_TO_TIMESTAMP_NTZsupportedCore SQL functionsA special version of TO_TIMESTAMP / TO_TIMESTAMP_* that performs the same operation (i.e. converts an input expression into a timestamp), but with…
TRY_TO_TIMESTAMP_TZsupportedCore SQL functionsA special version of TO_TIMESTAMP / TO_TIMESTAMP_* that performs the same operation (i.e. converts an input expression into a timestamp), but with…
TRY_TO_UUIDsupportedCore SQL functionsA special version of TO_UUID that performs the same operation — that is, converts an input expression to a UUID value — but with error handling support. If the…

Data generation functions (10)

FunctionSupportAreaDescription
NORMALsupportedCore SQL functionsGenerates a normally-distributed pseudo-random floating point number with specified mean and stddev (standard deviation).
RANDOMsupportedCore SQL functionsEach call returns a pseudo-random 64-bit integer.
RANDSTRsupportedCore SQL functionsReturns a random string of specified length.
SEQ1supportedCore SQL functionsReturns a sequence of monotonically increasing integers, with wrap-around. Wrap-around occurs after the largest representable integer of the integer width (1,…
SEQ2supportedCore SQL functionsReturns a sequence of monotonically increasing integers, with wrap-around. Wrap-around occurs after the largest representable integer of the integer width (1,…
SEQ4supportedCore SQL functionsReturns a sequence of monotonically increasing integers, with wrap-around. Wrap-around occurs after the largest representable integer of the integer width (1,…
SEQ8supportedCore SQL functionsReturns a sequence of monotonically increasing integers, with wrap-around. Wrap-around occurs after the largest representable integer of the integer width (1,…
UNIFORMsupportedCore SQL functionsGenerates a uniformly-distributed pseudo-random number in the inclusive range [min, max].
UUID_STRINGsupportedCore SQL functionsGenerates either a version 4 (random) or version 5 (named) RFC 4122-compliant universally unique identifier (UUID) as a formatted string.
ZIPFsupportedCore SQL functionsReturns a Zipf-distributed integer, for N elements and characteristic exponent s.

Data metric functions (325)

FunctionSupportAreaDescription
ACCEPTED_VALUESEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of records where the value of a column does not match a Boolean expression.
ACCEPTED_VALUES_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of records where the value of a column does not match a Boolean expression. To get the number of those records instead, use…
ACCURACYEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of rows in which a predicted value is equal to the actual value. Use this function to measure the output of a classification model, such…
ALL_SPACE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not empty but contain only whitespace characters.
ALL_SPACE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not empty but contain only whitespace characters. The percentage is computed over the total row count,…
APPROX_QUANTILE_20Enterprise+supportedGovernance (policies, tags, data quality)Returns the approximate 20th percentile (P20) value for the specified column in a table.
APPROX_QUANTILE_25Enterprise+supportedGovernance (policies, tags, data quality)Returns the approximate 25th percentile (P25) value for the specified column in a table. Use this function to track the lower quartile boundary of a numeric…
APPROX_QUANTILE_40Enterprise+supportedGovernance (policies, tags, data quality)Returns the approximate 40th percentile (P40) value for the specified column in a table.
APPROX_QUANTILE_50Enterprise+supportedGovernance (policies, tags, data quality)Returns the approximate 50th percentile (P50, also known as the approximate median) value for the specified column in a table. For large datasets, this…
APPROX_QUANTILE_60Enterprise+supportedGovernance (policies, tags, data quality)Returns the approximate 60th percentile (P60) value for the specified column in a table.
APPROX_QUANTILE_80Enterprise+supportedGovernance (policies, tags, data quality)Returns the approximate 80th percentile (P80) value for the specified column in a table.
APPROX_QUANTILE_95Enterprise+supportedGovernance (policies, tags, data quality)Returns the approximate 95th percentile (P95) value for the specified column in a table.
APPROX_QUANTILE_99Enterprise+supportedGovernance (policies, tags, data quality)Returns the approximate 99th percentile (P99) value for the specified column in a table. Use this function to detect outliers and monitor tail behavior.…
AVGsupportedCore SQL functionsReturns the average of non-NULL records. If all records inside a group are NULL, the function returns NULL.
AVG_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the average of the values in the column in the current window and the average of the same measurement over the baseline.
AVG_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the average of the values in the column in the current window and the average of the same measurement over the baseline.
AVG_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the average of the values in the column in the current window and the average of the same measurement over the baseline.
AVG_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the average of the values in the column in the current window and the average of the same measurement over the baseline.
AVG_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the average of the values in the column in the current window, relative to the average of the same measurement over the…
AVG_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the average of the values in the column in the current window, relative to the average of the same measurement over the…
AVG_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the average of the values in the column in the current window, relative to the average of the same measurement over the…
AVG_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the average of the values in the column in the current window, relative to the average of the same measurement over the…
BLANK_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of column values that are blank for the specified column in a table. A value is blank when it’s an empty string or contains only spaces (that…
BLANK_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are blank for the specified column in a table.
CASE_FORMAT_VIOLATION_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that have inconsistent casing. A value is considered a violation if it is not entirely uppercase, not entirely…
CASE_FORMAT_VIOLATION_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that have inconsistent casing. A value is considered a violation if it is not entirely uppercase, not entirely…
CONTAINS_SPACES_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that contain at least one space, tab, or no-break space.
CONTAINS_SPACES_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that contain at least one space, tab, or no-break space. The percentage is computed over the total row count, including…
DATA_METRIC_SCHEDULED_TIMEEnterprise+supportedGovernance (policies, tags, data quality)Returns the timestamp for when a DMF is scheduled to run or the current timestamp if the function is called manually.
DUPLICATE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of distinct values that occur more than once in a column, counting NULL as a value. If you specify more than one column argument, returns…
DUPLICATE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of non-NULL rows whose value occurs more than once in the specified column. Every row with a repeated value is counted, not only the…
EMPTY_STRING_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of column values that are empty strings (''). Whitespace-only strings are not counted; use BLANK_COUNT to count both.
EMPTY_STRING_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are empty strings (''). Whitespace-only strings are not counted; use BLANK_PERCENT to measure both. The percentage…
EXTREME_OUTLIER_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL, non-NaN values in a column that fall outside the extreme asymmetric Tukey fences for the column.
EXTREME_OUTLIER_IQR_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL, non-NaN values in a column that fall outside the extreme Tukey fences (3 times the interquartile range) for the column.
EXTREME_OUTLIER_IQR_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of a column’s values that fall outside the extreme Tukey fences (3 times the interquartile range) for the column.
EXTREME_OUTLIER_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of a column’s values that fall outside the extreme asymmetric Tukey fences for the column.
EXTREME_OUTLIER_ZSCORE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL, non-NaN values in a column whose absolute Z-score exceeds 4.5.
EXTREME_OUTLIER_ZSCORE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of a column’s values whose absolute Z-score exceeds 4.5.
FALSE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are FALSE.
FALSE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are FALSE. The percentage is computed over the total row count, including NULL values in the denominator.
FRESHNESSEnterprise+supportedGovernance (policies, tags, data quality)Returns how much time in seconds has elapsed since a table was last modified.
FUTURE_TIMESTAMP_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of column values that are in the future relative to the scheduled evaluation time. Use this function to detect future-dated records in event…
FUTURE_TIMESTAMP_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are in the future relative to the scheduled evaluation time. The percentage is computed over the total row count,…
GEOMETRIC_MEANEnterprise+supportedGovernance (policies, tags, data quality)Returns the geometric mean of the positive values for the specified column in a table. Zero and negative values are excluded, because their logarithm is…
HARMONIC_MEANEnterprise+supportedGovernance (policies, tags, data quality)Returns the harmonic mean of the nonzero values for the specified column in a table. Zero values are excluded, because their reciprocal is undefined; negative…
INVALID_CA_POSTAL_CODE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a Canadian postal code in the A1A 1A1 form.
INVALID_CA_POSTAL_CODE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a Canadian postal code in the A1A 1A1 form. The percentage is computed over the total row count, including…
INVALID_CA_SIN_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a Canadian Social Insurance Number (SIN) of nine digits.
INVALID_CA_SIN_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a Canadian Social Insurance Number (SIN) of nine digits. The percentage is computed over the total row…
INVALID_CH_OASI_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a Swiss OASI (AHV/AVS) social security number: 756 followed by ten digits.
INVALID_CH_OASI_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a Swiss OASI (AHV/AVS) social security number: 756 followed by ten digits. The percentage is computed over…
INVALID_CUSIP_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a CUSIP: eight characters, each an uppercase letter, digit, *, @, or #, followed by a digit.
INVALID_CUSIP_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a CUSIP: eight characters, each an uppercase letter, digit, *, @, or #, followed by a digit. The…
INVALID_DE_POSTAL_CODE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a German postal code: five digits that do not begin with 00.
INVALID_DE_POSTAL_CODE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a German postal code: five digits that do not begin with 00. The percentage is computed over the total row…
INVALID_DE_TAX_ID_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a German tax identification number: eleven digits that do not begin with zero.
INVALID_DE_TAX_ID_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a German tax identification number: eleven digits that do not begin with zero. The percentage is computed…
INVALID_EMAIL_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a valid email address.
INVALID_EMAIL_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a valid email address. The percentage is computed over the total row count, including NULL values in the…
INVALID_ES_DNI_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a Spanish DNI number: eight digits followed by a check letter.
INVALID_ES_DNI_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a Spanish DNI number: eight digits followed by a check letter. The percentage is computed over the total…
INVALID_FIGI_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a FIGI: two uppercase consonants, G, eight uppercase consonants or digits, and a trailing digit.
INVALID_FIGI_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a FIGI: two uppercase consonants, G, eight uppercase consonants or digits, and a trailing digit. The…
INVALID_FR_INSEE_CODE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a French INSEE commune code.
INVALID_FR_INSEE_CODE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a French INSEE commune code. The percentage is computed over the total row count, including NULL values in…
INVALID_FR_POSTAL_CODE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a French postal code: five digits with a prefix that is in use.
INVALID_FR_POSTAL_CODE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a French postal code: five digits with a prefix that is in use. The percentage is computed over the total…
INVALID_INTEGER_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not an integer: an optional sign followed by digits.
INVALID_INTEGER_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not an integer: an optional sign followed by digits. The percentage is computed over the total row count,…
INVALID_ISIN_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not an ISIN: two uppercase letters, nine uppercase letters or digits, and a trailing digit.
INVALID_ISIN_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not an ISIN: two uppercase letters, nine uppercase letters or digits, and a trailing digit. The percentage is…
INVALID_ISO8601_FORMAT_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not laid out as an ISO 8601 date or timestamp.
INVALID_ISO8601_FORMAT_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not laid out as an ISO 8601 date or timestamp. The percentage is computed over the total row count, including…
INVALID_IT_FISCAL_CODE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not an Italian fiscal code (codice fiscale) in the sixteen-character form.
INVALID_IT_FISCAL_CODE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not an Italian fiscal code (codice fiscale) in the sixteen-character form. The percentage is computed over the…
INVALID_JSON_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not valid JSON. Use this function to validate columns that are expected to contain JSON payloads.
INVALID_JSON_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not valid JSON. The percentage is computed over the total row count, including NULL values in the denominator.
INVALID_LATITUDE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of column values that are not a valid latitude: values outside the range -90 to 90.
INVALID_LATITUDE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a valid latitude: values outside the range -90 to 90. The percentage is computed over the total row count,…
INVALID_LEI_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not an LEI: 18 uppercase letters or digits followed by two digits.
INVALID_LEI_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not an LEI: 18 uppercase letters or digits followed by two digits. The percentage is computed over the total…
INVALID_LONGITUDE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of column values that are not a valid longitude: values outside the range -180 to 180.
INVALID_LONGITUDE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a valid longitude: values outside the range -180 to 180. The percentage is computed over the total row…
INVALID_NL_BSN_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a Dutch citizen service number (BSN) of eight or nine digits.
INVALID_NL_BSN_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a Dutch citizen service number (BSN) of eight or nine digits. The percentage is computed over the total…
INVALID_NUMERIC_TYPE_CAST_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that cannot be parsed as numeric. Use this function to detect non-numeric data in columns that are expected to…
INVALID_NUMERIC_TYPE_CAST_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that cannot be parsed as numeric. The percentage is computed over the total row count, including NULL values in the…
INVALID_PERCENTAGE_RANGE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are outside the range for a percentage, 0 to 100 inclusive.
INVALID_PERCENTAGE_RANGE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are outside the range for a percentage, 0 to 100 inclusive. The percentage is computed over the total row count,…
INVALID_PERM_ID_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a PermID: the literal 1- followed by 1 to 15 digits.
INVALID_PERM_ID_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a PermID: the literal 1- followed by 1 to 15 digits. The percentage is computed over the total row count,…
INVALID_PL_PESEL_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a Polish PESEL number: eleven digits that encode a possible birth date.
INVALID_PL_PESEL_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a Polish PESEL number: eleven digits that encode a possible birth date. The percentage is computed over…
INVALID_PROBABILITY_RANGE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are outside the range for a probability, 0 to 1 inclusive.
INVALID_PROBABILITY_RANGE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are outside the range for a probability, 0 to 1 inclusive. The percentage is computed over the total row count,…
INVALID_SEDOL_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a SEDOL: six uppercase consonants or digits followed by a digit.
INVALID_SEDOL_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a SEDOL: six uppercase consonants or digits followed by a digit. The percentage is computed over the total…
INVALID_TIMESTAMP_STRING_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that can’t be parsed as a timestamp or a date.
INVALID_TIMESTAMP_STRING_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that can’t be parsed as a timestamp or a date. The percentage is computed over the total row count, including NULL…
INVALID_TR_ID_NO_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a Turkish national identification number: eleven digits that do not begin with zero.
INVALID_TR_ID_NO_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a Turkish national identification number: eleven digits that do not begin with zero. The percentage is…
INVALID_UK_NINO_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a UK National Insurance number: two letters, six digits, and a letter from A to D.
INVALID_UK_NINO_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a UK National Insurance number: two letters, six digits, and a letter from A to D. The percentage is…
INVALID_UK_POSTAL_CODE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a UK postcode in the outward and inward form.
INVALID_UK_POSTAL_CODE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a UK postcode in the outward and inward form. The percentage is computed over the total row count,…
INVALID_USA_PHONE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a U.S. phone number, with or without a +1 country code, parentheses, and space, period, or hyphen…
INVALID_USA_PHONE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a U.S. phone number, with or without a +1 country code, parentheses, and space, period, or hyphen…
INVALID_USA_STATE_CODE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a two-letter code for one of the 50 U.S. states or the District of Columbia.
INVALID_USA_STATE_CODE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a two-letter code for one of the 50 U.S. states or the District of Columbia. The percentage is computed…
INVALID_USA_ZIP_CODE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a U.S. ZIP Code in 5-digit (12345) or ZIP+4 (12345-6789) form.
INVALID_USA_ZIP_CODE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a U.S. ZIP Code in 5-digit (12345) or ZIP+4 (12345-6789) form. The percentage is computed over the total…
INVALID_UUID_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not a UUID in the hyphenated 8-4-4-4-12 hexadecimal form.
INVALID_UUID_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not a UUID in the hyphenated 8-4-4-4-12 hexadecimal form. The percentage is computed over the total row count,…
JS_DIVERGENCE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the Jensen-Shannon divergence (base 2) of the values in the column, comparing the values in the current window with the values in the baseline. The…
JS_DIVERGENCE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the Jensen-Shannon divergence (base 2) of the values in the column, comparing the values in the current window with the values in the baseline. The…
JS_DIVERGENCE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the Jensen-Shannon divergence (base 2) of the values in the column, comparing the values in the current window with the values in the baseline. The…
JS_DIVERGENCE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the Jensen-Shannon divergence (base 2) of the values in the column, comparing the values in the current window with the values in the baseline. The…
KS_TEST_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the two-sample Kolmogorov-Smirnov D statistic for the values in the column: the largest gap between the cumulative distribution of the values in the…
KS_TEST_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the two-sample Kolmogorov-Smirnov D statistic for the values in the column: the largest gap between the cumulative distribution of the values in the…
KS_TEST_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the two-sample Kolmogorov-Smirnov D statistic for the values in the column: the largest gap between the cumulative distribution of the values in the…
KS_TEST_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the two-sample Kolmogorov-Smirnov D statistic for the values in the column: the largest gap between the cumulative distribution of the values in the…
KURTOSISsupportedCore SQL functionsReturns the sample excess kurtosis of non-NULL records. If all records inside a group are NULL, the function returns NULL.
MAEEnterprise+supportedGovernance (policies, tags, data quality)Returns the mean absolute error (MAE) between a column of predicted values and a column of actual values. MAE is the average size of an error, in the same…
MAPEEnterprise+supportedGovernance (policies, tags, data quality)Returns the mean absolute percentage error (MAPE) between a column of predicted values and a column of actual values. MAPE is the average size of an error,…
MAXsupportedCore SQL functionsReturns the maximum value for the records within expr. NULL values are ignored unless all the records are NULL, in which case a NULL value is returned.
MAX_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the maximum of the values in the column in the current window and the average of the same measurement over the baseline.
MAX_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the maximum of the values in the column in the current window and the average of the same measurement over the baseline.
MAX_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the maximum of the values in the column in the current window and the average of the same measurement over the baseline.
MAX_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the maximum of the values in the column in the current window and the average of the same measurement over the baseline.
MAX_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the maximum of the values in the column in the current window, relative to the average of the same measurement over the…
MAX_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the maximum of the values in the column in the current window, relative to the average of the same measurement over the…
MAX_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the maximum of the values in the column in the current window, relative to the average of the same measurement over the…
MAX_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the maximum of the values in the column in the current window, relative to the average of the same measurement over the…
MEAN_ERROREnterprise+supportedGovernance (policies, tags, data quality)Returns the mean signed error between a column of predicted values and a column of actual values, where each error is the actual value minus the predicted…
MEDIANsupportedCore SQL functionsDetermines the median of a set of values.
MEDIAN_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the median of the values in the column in the current window and the average of the same measurement over the baseline.
MEDIAN_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the median of the values in the column in the current window and the average of the same measurement over the baseline.
MEDIAN_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the median of the values in the column in the current window and the average of the same measurement over the baseline.
MEDIAN_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the median of the values in the column in the current window and the average of the same measurement over the baseline.
MEDIAN_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the median of the values in the column in the current window, relative to the average of the same measurement over the…
MEDIAN_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the median of the values in the column in the current window, relative to the average of the same measurement over the…
MEDIAN_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the median of the values in the column in the current window, relative to the average of the same measurement over the…
MEDIAN_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the median of the values in the column in the current window, relative to the average of the same measurement over the…
MINsupportedCore SQL functionsReturns the minimum value for the records within expr. NULL values are ignored unless all the records are NULL, in which case a NULL value is returned.
MIN_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the minimum of the values in the column in the current window and the average of the same measurement over the baseline.
MIN_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the minimum of the values in the column in the current window and the average of the same measurement over the baseline.
MIN_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the minimum of the values in the column in the current window and the average of the same measurement over the baseline.
MIN_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the minimum of the values in the column in the current window and the average of the same measurement over the baseline.
MIN_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the minimum of the values in the column in the current window, relative to the average of the same measurement over the…
MIN_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the minimum of the values in the column in the current window, relative to the average of the same measurement over the…
MIN_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the minimum of the values in the column in the current window, relative to the average of the same measurement over the…
MIN_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the minimum of the values in the column in the current window, relative to the average of the same measurement over the…
MISSING_VALUE_COUNT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of distinct non-NULL values in the column that appear in the baseline but not in the current window. Use this function on a column with few…
MISSING_VALUE_COUNT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of distinct non-NULL values in the column that appear in the baseline but not in the current window. Use this function on a column with few…
MISSING_VALUE_COUNT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of distinct non-NULL values in the column that appear in the baseline but not in the current window. Use this function on a column with few…
MISSING_VALUE_COUNT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of distinct non-NULL values in the column that appear in the baseline but not in the current window. Use this function on a column with few…
NAN_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are NaN (not a number).
NAN_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are NaN (not a number). The percentage is computed over the total row count, including NULL values in the…
NEGATIVE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of column values that are negative for the specified column in a table. Use this function to validate columns that should never be negative,…
NEGATIVE_COUNT_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of negative values in the column in the current window and the average of the same measurement over the baseline.
NEGATIVE_COUNT_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of negative values in the column in the current window and the average of the same measurement over the baseline.
NEGATIVE_COUNT_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of negative values in the column in the current window and the average of the same measurement over the baseline.
NEGATIVE_COUNT_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of negative values in the column in the current window and the average of the same measurement over the baseline.
NEGATIVE_COUNT_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of negative values in the column in the current window, relative to the average of the same measurement over the…
NEGATIVE_COUNT_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of negative values in the column in the current window, relative to the average of the same measurement over the…
NEGATIVE_COUNT_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of negative values in the column in the current window, relative to the average of the same measurement over the…
NEGATIVE_COUNT_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of negative values in the column in the current window, relative to the average of the same measurement over the…
NEGATIVE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are negative for the specified column in a table. The percentage is computed over the total row count, including…
NEGATIVE_PERCENT_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are negative in the current window and the average of the same measurement over the…
NEGATIVE_PERCENT_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are negative in the current window and the average of the same measurement over the…
NEGATIVE_PERCENT_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are negative in the current window and the average of the same measurement over the…
NEGATIVE_PERCENT_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are negative in the current window and the average of the same measurement over the…
NEGATIVE_PERCENT_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are negative in the current window, relative to the average of the same…
NEGATIVE_PERCENT_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are negative in the current window, relative to the average of the same…
NEGATIVE_PERCENT_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are negative in the current window, relative to the average of the same…
NEGATIVE_PERCENT_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are negative in the current window, relative to the average of the same…
NEW_VALUE_COUNT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of distinct non-NULL values in the column that appear in the current window but not in the baseline. Use this function on a column with few…
NEW_VALUE_COUNT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of distinct non-NULL values in the column that appear in the current window but not in the baseline. Use this function on a column with few…
NEW_VALUE_COUNT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of distinct non-NULL values in the column that appear in the current window but not in the baseline. Use this function on a column with few…
NEW_VALUE_COUNT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of distinct non-NULL values in the column that appear in the current window but not in the baseline. Use this function on a column with few…
NOT_FRIDAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that do not fall on a Friday.
NOT_FRIDAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that do not fall on a Friday. The percentage is computed over the total row count, including NULL values in the…
NOT_IN_FUTURE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of column values that are not in the future relative to the scheduled evaluation time. Use this function to check that event or transaction…
NOT_IN_FUTURE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not in the future relative to the scheduled evaluation time. The percentage is computed over the total row…
NOT_MONDAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that do not fall on a Monday.
NOT_MONDAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that do not fall on a Monday. The percentage is computed over the total row count, including NULL values in the…
NOT_NULL_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of column values that are not NULL for the specified column in a table.
NOT_NULL_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not NULL for the specified column in a table. The percentage is computed over the total row count, including…
NOT_SATURDAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that do not fall on a Saturday.
NOT_SATURDAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that do not fall on a Saturday. The percentage is computed over the total row count, including NULL values in the…
NOT_SUNDAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that do not fall on a Sunday.
NOT_SUNDAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that do not fall on a Sunday. The percentage is computed over the total row count, including NULL values in the…
NOT_THURSDAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that do not fall on a Thursday.
NOT_THURSDAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that do not fall on a Thursday. The percentage is computed over the total row count, including NULL values in the…
NOT_TODAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not on the date of the scheduled evaluation time.
NOT_TODAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not on the date of the scheduled evaluation time. The percentage is computed over the total row count,…
NOT_TUESDAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that do not fall on a Tuesday.
NOT_TUESDAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that do not fall on a Tuesday. The percentage is computed over the total row count, including NULL values in the…
NOT_WEDNESDAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that do not fall on a Wednesday.
NOT_WEDNESDAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that do not fall on a Wednesday. The percentage is computed over the total row count, including NULL values in the…
NOT_WEEKDAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that fall on a Saturday or a Sunday.
NOT_WEEKDAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that fall on a Saturday or a Sunday. The percentage is computed over the total row count, including NULL values in the…
NOT_YESTERDAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are not on the day before the date of the scheduled evaluation time.
NOT_YESTERDAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are not on the day before the date of the scheduled evaluation time. The percentage is computed over the total row…
NULL_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the total number of NULL values for the specified column in a table.
NULL_COUNT_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of NULL values in the column in the current window and the average of the same measurement over the baseline.
NULL_COUNT_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of NULL values in the column in the current window and the average of the same measurement over the baseline.
NULL_COUNT_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of NULL values in the column in the current window and the average of the same measurement over the baseline.
NULL_COUNT_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of NULL values in the column in the current window and the average of the same measurement over the baseline.
NULL_COUNT_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of NULL values in the column in the current window, relative to the average of the same measurement over the…
NULL_COUNT_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of NULL values in the column in the current window, relative to the average of the same measurement over the…
NULL_COUNT_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of NULL values in the column in the current window, relative to the average of the same measurement over the…
NULL_COUNT_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of NULL values in the column in the current window, relative to the average of the same measurement over the…
NULL_KEYWORD_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are a text placeholder for a missing value, such as 'null' or 'n/a', rather than a SQL NULL.
NULL_KEYWORD_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are a text placeholder for a missing value, such as 'null' or 'n/a', rather than a SQL NULL. The percentage is…
NULL_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of columns values that are NULL for the specified column in a table.
NULL_PERCENT_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are NULL in the current window and the average of the same measurement over the…
NULL_PERCENT_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are NULL in the current window and the average of the same measurement over the…
NULL_PERCENT_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are NULL in the current window and the average of the same measurement over the…
NULL_PERCENT_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are NULL in the current window and the average of the same measurement over the…
NULL_PERCENT_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are NULL in the current window, relative to the average of the same measurement…
NULL_PERCENT_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are NULL in the current window, relative to the average of the same measurement…
NULL_PERCENT_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are NULL in the current window, relative to the average of the same measurement…
NULL_PERCENT_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are NULL in the current window, relative to the average of the same measurement…
OUTLIER_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL, non-NaN values in a column that fall outside the asymmetric Tukey fences for the column.
OUTLIER_IQR_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL, non-NaN values in a column that fall outside the standard Tukey fences (1.5 times the interquartile range) for the column.
OUTLIER_IQR_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of a column’s values that fall outside the standard Tukey fences (1.5 times the interquartile range) for the column.
OUTLIER_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of a column’s values that fall outside the asymmetric Tukey fences for the column.
OUTLIER_ZSCORE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL, non-NaN values in a column whose absolute Z-score exceeds 3.
OUTLIER_ZSCORE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of a column’s values whose absolute Z-score exceeds 3.
PSI_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the population stability index (PSI) of the values in the column, comparing the values in the current window with the values in the baseline. A higher…
PSI_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the population stability index (PSI) of the values in the column, comparing the values in the current window with the values in the baseline. A higher…
PSI_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the population stability index (PSI) of the values in the column, comparing the values in the current window with the values in the baseline. A higher…
PSI_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the population stability index (PSI) of the values in the column, comparing the values in the current window with the values in the baseline. A higher…
REFERENTIAL_INTEGRITY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of rows in the source table where the column value does not have a corresponding match in the referenced table. These unmatched rows are…
RMSEEnterprise+supportedGovernance (policies, tags, data quality)Returns the root mean squared error (RMSE) between a column of predicted values and a column of actual values. RMSE is in the same units as the values, and it…
ROWS_IN_PAST_DAY_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that fall in the 24 hours before the scheduled evaluation time.
ROWS_IN_PAST_DAY_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that fall in the 24 hours before the scheduled evaluation time. The percentage is computed over the total row count,…
ROWS_IN_PAST_HOUR_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that fall in the hour before the scheduled evaluation time.
ROWS_IN_PAST_HOUR_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that fall in the hour before the scheduled evaluation time. The percentage is computed over the total row count,…
ROWS_IN_PAST_MONTH_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that fall in the 30 days before the scheduled evaluation time.
ROWS_IN_PAST_MONTH_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that fall in the 30 days before the scheduled evaluation time. The percentage is computed over the total row count,…
ROWS_IN_PAST_WEEK_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that fall in the 7 days before the scheduled evaluation time.
ROWS_IN_PAST_WEEK_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that fall in the 7 days before the scheduled evaluation time. The percentage is computed over the total row count,…
ROWS_IN_PAST_YEAR_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that fall in the 365 days before the scheduled evaluation time.
ROWS_IN_PAST_YEAR_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that fall in the 365 days before the scheduled evaluation time. The percentage is computed over the total row count,…
ROW_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the total number of rows in a table.
ROW_COUNT_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of rows in the table in the current window and the average of the same measurement over the baseline.
ROW_COUNT_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of rows in the table in the current window and the average of the same measurement over the baseline.
ROW_COUNT_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of rows in the table in the current window and the average of the same measurement over the baseline.
ROW_COUNT_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of rows in the table in the current window and the average of the same measurement over the baseline.
ROW_COUNT_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of rows in the table in the current window, relative to the average of the same measurement over the baseline.
ROW_COUNT_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of rows in the table in the current window, relative to the average of the same measurement over the baseline.
ROW_COUNT_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of rows in the table in the current window, relative to the average of the same measurement over the baseline.
ROW_COUNT_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of rows in the table in the current window, relative to the average of the same measurement over the baseline.
ROW_COUNT_DIFFERENCEEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of rows in the associated table minus the number of rows in a reference table. Use this function to check that a table, such as a copy or…
R_SQUAREDEnterprise+supportedGovernance (policies, tags, data quality)Returns the coefficient of determination (R²) of a column of predicted values against a column of actual values. R² measures the share of the variation in the…
SCHEMA_CHANGE_ADD_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of columns added to the associated table or view since the previous evaluation of the function. On the first evaluation, the function…
SCHEMA_CHANGE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of schema change operations (column add, drop, rename, or type change) detected on the associated table since the previous evaluation of the…
SCHEMA_CHANGE_DROP_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of columns dropped from the associated table or view since the previous evaluation of the function. On the first evaluation, the function…
SCHEMA_CHANGE_TYPE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of columns whose data type changed in the associated table or view since the previous evaluation of the function. On the first evaluation,…
SECONDS_SINCE_ROW_COUNT_CHANGEEnterprise+not supportedGovernance (policies, tags, data quality)Returns the number of seconds since the last committed DML operation that changed the number of rows in the associated table. Use this function to detect a…
SKEWsupportedCore SQL functionsReturns the sample skewness of non-NULL records. If all records inside a group are NULL, the function returns NULL.
SOURCE_TARGET_LAGEnterprise+supportedGovernance (policies, tags, data quality)Returns how far, in seconds, the latest timestamp in a target table trails the latest timestamp in a source table. Use this function to monitor whether a table…
SPECIAL_CHARACTER_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that contain characters outside the alphanumeric range (not A-Z, a-z, or 0-9). Spaces, punctuation, and Unicode…
SPECIAL_CHARACTER_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that contain characters outside the alphanumeric range (not A-Z, a-z, or 0-9). The percentage is computed over the…
STDDEVsupportedCore SQL functionsReturns the sample standard deviation (square root of sample variance) of non-NULL values. STDDEV and STDDEV_SAMP are aliases for the same function.
STDDEV_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the sample standard deviation of the values in the column in the current window and the average of the same measurement over the…
STDDEV_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the sample standard deviation of the values in the column in the current window and the average of the same measurement over the…
STDDEV_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the sample standard deviation of the values in the column in the current window and the average of the same measurement over the…
STDDEV_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the sample standard deviation of the values in the column in the current window and the average of the same measurement over the…
STDDEV_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the sample standard deviation of the values in the column in the current window, relative to the average of the same…
STDDEV_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the sample standard deviation of the values in the column in the current window, relative to the average of the same…
STDDEV_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the sample standard deviation of the values in the column in the current window, relative to the average of the same…
STDDEV_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the sample standard deviation of the values in the column in the current window, relative to the average of the same…
STRING_LENGTH_AVGEnterprise+supportedGovernance (policies, tags, data quality)Returns the average string length of non-NULL values for the specified column in a table. Use this function to monitor length drift over time.
STRING_LENGTH_MAXEnterprise+supportedGovernance (policies, tags, data quality)Returns the maximum string length of non-NULL values for the specified column in a table. Use this function to detect overflow or unexpectedly long values.
STRING_LENGTH_MINEnterprise+supportedGovernance (policies, tags, data quality)Returns the minimum string length of non-NULL values for the specified column in a table. Use this function to detect truncation or unexpectedly short values.
STRING_LENGTH_STDDEVEnterprise+supportedGovernance (policies, tags, data quality)Returns the sample standard deviation of the string length of non-NULL values for the specified column in a table.
SUMsupportedCore SQL functionsReturns the sum of non-NULL records for expr. You can use the DISTINCT keyword to compute the sum of unique non-null values. If all records inside a group are…
SUM_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the sum of the values in the column in the current window and the average of the same measurement over the baseline.
SUM_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the sum of the values in the column in the current window and the average of the same measurement over the baseline.
SUM_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the sum of the values in the column in the current window and the average of the same measurement over the baseline.
SUM_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the sum of the values in the column in the current window and the average of the same measurement over the baseline.
SUM_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the sum of the values in the column in the current window, relative to the average of the same measurement over the baseline.
SUM_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the sum of the values in the column in the current window, relative to the average of the same measurement over the baseline.
SUM_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the sum of the values in the column in the current window, relative to the average of the same measurement over the baseline.
SUM_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the sum of the values in the column in the current window, relative to the average of the same measurement over the baseline.
TABLE_SIZE_BYTESEnterprise+supportedGovernance (policies, tags, data quality)Returns the logical size, in bytes, of the associated table. The value is the same as the BYTES column of the TABLES view in the Information Schema.
TRUE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are TRUE.
TRUE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are TRUE. The percentage is computed over the total row count, including NULL values in the denominator.
UNIQUE_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the number of distinct non-NULL values for the specified columns in a table.
UNIQUE_COUNT_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of distinct non-NULL values in the column in the current window and the average of the same measurement over the…
UNIQUE_COUNT_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of distinct non-NULL values in the column in the current window and the average of the same measurement over the…
UNIQUE_COUNT_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of distinct non-NULL values in the column in the current window and the average of the same measurement over the…
UNIQUE_COUNT_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of distinct non-NULL values in the column in the current window and the average of the same measurement over the…
UNIQUE_COUNT_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of distinct non-NULL values in the column in the current window, relative to the average of the same measurement…
UNIQUE_COUNT_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of distinct non-NULL values in the column in the current window, relative to the average of the same measurement…
UNIQUE_COUNT_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of distinct non-NULL values in the column in the current window, relative to the average of the same measurement…
UNIQUE_COUNT_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of distinct non-NULL values in the column in the current window, relative to the average of the same measurement…
UNIQUE_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of non-NULL rows whose value occurs exactly once in the specified column. NULL values are excluded from both the numerator and the…
UNIX_ZERO_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that are equal to the Unix epoch, 1970-01-01.
UNIX_ZERO_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are equal to the Unix epoch, 1970-01-01. The percentage is computed over the total row count, including NULL…
UNTRIMMED_STRING_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of non-NULL column values that have leading or trailing spaces. Tabs, line breaks, and no-break spaces at the start or end of a value aren’t…
UNTRIMMED_STRING_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that have leading or trailing spaces. Tabs, line breaks, and no-break spaces at the start or end of a value aren’t…
VARIANCEsupportedCore SQL functionsReturns the sample variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.
ZERO_COUNTEnterprise+supportedGovernance (policies, tags, data quality)Returns the count of column values that are equal to zero for the specified column in a table. Use this function to detect missing or placeholder data in…
ZERO_COUNT_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of zero values in the column in the current window and the average of the same measurement over the baseline.
ZERO_COUNT_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of zero values in the column in the current window and the average of the same measurement over the baseline.
ZERO_COUNT_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of zero values in the column in the current window and the average of the same measurement over the baseline.
ZERO_COUNT_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the number of zero values in the column in the current window and the average of the same measurement over the baseline.
ZERO_COUNT_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of zero values in the column in the current window, relative to the average of the same measurement over the…
ZERO_COUNT_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of zero values in the column in the current window, relative to the average of the same measurement over the…
ZERO_COUNT_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of zero values in the column in the current window, relative to the average of the same measurement over the…
ZERO_COUNT_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the number of zero values in the column in the current window, relative to the average of the same measurement over the…
ZERO_PERCENTEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage of column values that are equal to zero for the specified column in a table. The percentage is computed over the total row count,…
ZERO_PERCENT_CHANGE_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are zero in the current window and the average of the same measurement over the…
ZERO_PERCENT_CHANGE_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are zero in the current window and the average of the same measurement over the…
ZERO_PERCENT_CHANGE_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are zero in the current window and the average of the same measurement over the…
ZERO_PERCENT_CHANGE_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the difference between the percentage of values in the column that are zero in the current window and the average of the same measurement over the…
ZERO_PERCENT_CHANGE_PERCENT_LAST_EIGHT_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are zero in the current window, relative to the average of the same measurement…
ZERO_PERCENT_CHANGE_PERCENT_LAST_FOUR_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are zero in the current window, relative to the average of the same measurement…
ZERO_PERCENT_CHANGE_PERCENT_LAST_PERIODEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are zero in the current window, relative to the average of the same measurement…
ZERO_PERCENT_CHANGE_PERCENT_LAST_TWO_PERIODSEnterprise+supportedGovernance (policies, tags, data quality)Returns the percentage change of the percentage of values in the column that are zero in the current window, relative to the average of the same measurement…

Date & time functions (50)

FunctionSupportAreaDescription
ADD_MONTHSsupportedCore SQL functionsAdds or subtracts a specified number of months to a date or timestamp, preserving the end-of-month information.
CONVERT_TIMEZONEsupportedCore SQL functionsConverts a timestamp to another time zone.
DATEsupportedCore SQL functionsConverts an input expression to a date:
DATEADDsupportedCore SQL functionsAdds the specified value for the specified date or time part to a date, time, or timestamp.
DATEDIFFsupportedCore SQL functionsCalculates the difference between two date, time, or timestamp expressions based on the date or time part requested. The function returns the result of…
DATE_FROM_PARTSsupportedCore SQL functionsCreates a date from individual numeric components that represent the year, month, and day of the month.
DATE_PARTsupportedCore SQL functionsExtracts the specified date or time part from a date, time, or timestamp.
DATE_TRUNCsupportedCore SQL functionsTruncates a DATE, TIME, or TIMESTAMP value to the specified precision. For example, truncating a timestamp down to the quarter returns the timestamp…
DAYsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
DAYNAMEsupportedCore SQL functionsExtracts the three-letter day-of-week name from the specified date or timestamp.
DAYOFMONTHsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
DAYOFWEEKsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
DAYOFWEEKISOsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
DAYOFYEARsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
EXTRACTsupportedCore SQL functionsExtracts the specified date or time part from a date, interval, time, or timestamp.
HOURsupportedCore SQL functionsExtracts the corresponding time part from a time, interval, or timestamp value.
LAST_DAYsupportedCore SQL functionsReturns the last day of the specified date part for a date or timestamp. This function is commonly used to return the last day of the month for a date or…
LAST_SUCCESSFUL_SCHEDULED_TIMEsupportedGovernance (policies, tags, data quality)Returns the timestamp representing the scheduled time for the most recent successful evaluation of the alert condition, where no errors occurred when executing…
MINUTEsupportedCore SQL functionsExtracts the corresponding time part from a time, interval, or timestamp value.
MONTHsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
MONTHNAMEsupportedCore SQL functionsReturns the three-letter month name for the specified date or timestamp.
MONTHS_BETWEENsupportedCore SQL functionsReturns the number of months between two DATE or TIMESTAMP values.
NEXT_DAYsupportedCore SQL functionsReturns the date of the first specified day of week (DOW) that occurs after the input date.
PREVIOUS_DAYsupportedCore SQL functionsReturns the date of the first specified day of week (DOW) that occurs before the input date.
QUARTERsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
SCHEDULED_TIMEsupportedCore SQL functionsReturns the timestamp representing the scheduled time of the current alert. Refer to Specifying timestamps based on alert schedules.
SECONDsupportedCore SQL functionsExtracts the corresponding time part from a time, interval, or timestamp value.
TIMEsupportedCore SQL functionsConverts an input expression into a time.
TIMEADDsupportedCore SQL functionsAdds the specified value for the specified date or time part to a date, time, or timestamp.
TIMEDIFFsupportedCore SQL functionsCalculates the difference between two date, time, or timestamp expressions based on the specified date or time part. The function returns the result of…
TIMESTAMPADDsupportedCore SQL functionsAdds the specified value for the specified date or time part to a date, time, or timestamp.
TIMESTAMPDIFFsupportedCore SQL functionsCalculates the difference between two date, time, or timestamp expressions based on the specified date or time part. The function returns the result of…
TIMESTAMP_FROM_PARTSsupportedCore SQL functionsCreates a timestamp from individual numeric components. If no time zone is in effect, the function can be used to create a timestamp from a date expression and…
TIME_FROM_PARTSsupportedCore SQL functionsCreates a time from individual numeric components.
TIME_SLICEsupportedCore SQL functionsCalculates the beginning or end of a “slice” of time, where the length of the slice is a multiple of a standard unit of time (minute, hour, day, etc.).
TO_DATEsupportedCore SQL functionsConverts an input expression to a date:
TO_TIMEsupportedCore SQL functionsConverts an input expression into a time.
TO_TIMESTAMPsupportedCore SQL functionsConverts an input expression into the corresponding timestamp:
TO_TIMESTAMP_LTZsupportedCore SQL functionsConverts an input expression into the corresponding timestamp:
TO_TIMESTAMP_NTZsupportedCore SQL functionsConverts an input expression into the corresponding timestamp:
TO_TIMESTAMP_TZsupportedCore SQL functionsConverts an input expression into the corresponding timestamp:
TRUNCsupportedCore SQL functionsRounds the input expression down to the nearest (or equal) value closer to zero. Depending on the value you specify as the scale parameter, the transformation…
TRUNCATEsupportedCore SQL functionsRounds the input expression down to the nearest (or equal) value closer to zero. Depending on the value you specify as the scale parameter, the transformation…
TRY_TO_DATEsupportedCore SQL functionsA special version of the TO_DATE function that performs the same operation (i.e. converts an input expression to a date), but with error-handling support (i.e.…
WEEKsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
WEEKISOsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
WEEKOFYEARsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
YEARsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
YEAROFWEEKsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.
YEAROFWEEKISOsupportedCore SQL functionsExtracts the corresponding date part from a date or timestamp.

Differential privacy functions (3)

FunctionSupportAreaDescription
DP_INTERVAL_HIGHEnterprise+supportedGovernance (policies, tags, data quality)Returns the upper bound of the noise interval, which is used by differential privacy to help analysts determine how much noise has been introduced into query…
DP_INTERVAL_LOWEnterprise+supportedGovernance (policies, tags, data quality)Returns the lower bound of the noise interval, which is used by differential privacy to help analysts determine how much noise has been introduced into query…
ESTIMATE_REMAINING_DP_AGGREGATESEnterprise+supportedGovernance (policies, tags, data quality)Returns the estimated number of aggregation functions that can be run before the limit of a privacy budget is reached. The number of remaining aggregates is…

Encryption functions (6)

FunctionSupportAreaDescription
DECRYPTsupportedCore SQL functionsDecrypts a BINARY value using a VARCHAR passphrase.
DECRYPT_RAWsupportedCore SQL functionsDecrypts a BINARY value using a BINARY key.
ENCRYPTsupportedCore SQL functionsEncrypts a VARCHAR or BINARY value using a VARCHAR passphrase.
ENCRYPT_RAWsupportedCore SQL functionsEncrypts a BINARY value using a BINARY key.
TRY_DECRYPTsupportedCore SQL functionsA special version of DECRYPT that returns a NULL value if an error occurs during decryption.
TRY_DECRYPT_RAWsupportedCore SQL functionsA special version of DECRYPT_RAW that returns a NULL value if an error occurs during decryption.

File functions (26)

FunctionSupportAreaDescription
AI_COMPLETEpreviewdeferredAI & MLGenerates a response (completion) from text, images, documents, audio, or video using a supported language model. The input types you can use depend on the…
AI_TRANSCRIBEdeferredAI & MLAI_TRANSCRIBE is a fully managed SQL function that transcribes audio and video files stored in a stage, extracting text, timestamps, and speaker information.…
BUILD_SCOPED_FILE_URLsupportedData loading & unloadingGenerates a scoped Snowflake file URL to a staged file using the stage name and relative file path as inputs.
BUILD_STAGE_FILE_URLsupportedData loading & unloadingGenerates a Snowflake file URL to a staged file using the stage name and relative file path as inputs. A file URL permits prolonged access to a specified file.…
FL_FILTER_PAGESnot supportedData loading & unloadingSelects pages of a multi-page document for processing by Cortex AI Functions for document intelligence.
FL_GET_CONTENT_TYPEsupportedData loading & unloadingReturns the content type (also known as the MIME type) of a FILE.
FL_GET_ETAGsupportedData loading & unloadingReturns the content hash (ETAG) of a FILE.
FL_GET_FILE_TYPEsupportedData loading & unloadingReturns the file type (modality) of a FILE. This is a more general classification than the content type (see FL_GET_CONTENT_TYPE).
FL_GET_LAST_MODIFIEDsupportedData loading & unloadingReturns the last modified date of a FILE.
FL_GET_RELATIVE_PATHsupportedData loading & unloadingReturns the relative path of a FILE.
FL_GET_SCOPED_FILE_URLsupportedData loading & unloadingReturns the scoped URL of a FILE.
FL_GET_SIZEsupportedData loading & unloadingReturns the size, in bytes, of a FILE.
FL_GET_STAGEsupportedData loading & unloadingReturns the stage name of a FILE.
FL_GET_STAGE_FILE_URLsupportedData loading & unloadingReturns the stage URL of a FILE.
FL_IS_AUDIOsupportedData loading & unloadingChecks if the input is an audio FILE.
FL_IS_COMPRESSEDsupportedData loading & unloadingChecks if the input is a compressed FILE.
FL_IS_DOCUMENTsupportedData loading & unloadingChecks if the input is a document FILE.
FL_IS_IMAGEsupportedData loading & unloadingChecks if the input is an image FILE.
FL_IS_VIDEOsupportedData loading & unloadingChecks if the input is a video FILE.
GET_ABSOLUTE_PATHsupportedData loading & unloadingRetrieves the absolute path of a staged file using the stage name and path of the file relative to its location in the stage as inputs.
GET_PRESIGNED_URLsupportedData loading & unloadingGenerates a pre-signed URL to a file on a stage using the stage name and relative file path as inputs.
GET_RELATIVE_PATHsupportedData loading & unloadingExtracts the path of a staged file relative to its location in the stage using the stage name and absolute file path in cloud storage as inputs.
GET_STAGE_LOCATIONsupportedData loading & unloadingRetrieves the URL for an external or internal named stage using the stage name as the input.
PARSE_DOCUMENTdeferredAI & MLNotice
TO_FILEsupportedData loading & unloadingConstructs a value of type FILE from a file location or from metadata.
TRY_TO_FILEsupportedData loading & unloadingA version of TO_FILE that returns NULL instead of raising an error.

Geospatial functions (101)

FunctionSupportAreaDescription
H3_CELL_TO_BOUNDARYsupportedCore SQL functionsReturns the GEOGRAPHY object representing the boundary of an H3 cell.
H3_CELL_TO_CHILDRENsupportedCore SQL functionsReturns an array of the INTEGER IDs of the children of an H3 cell for a given resolution.
H3_CELL_TO_CHILDREN_STRINGsupportedCore SQL functionsReturns an array of the VARCHAR values containing the hexadecimal IDs of the children of an H3 cell for a given resolution.
H3_CELL_TO_PARENTsupportedCore SQL functionsReturns the ID of the parent of an H3 cell for a given resolution. The ID is returned as an INTEGER value (if an INTEGER value was provided as the input ID) or…
H3_CELL_TO_POINTsupportedCore SQL functionsReturns the GEOGRAPHY object representing the Point that is the centroid of an H3 cell.
H3_COMPACT_CELLSsupportedCore SQL functionsReturns an array of VARIANT values that contain the INTEGER IDs of fewer, larger H3 cells that cover the same area as the H3 cells in the input. For…
H3_COMPACT_CELLS_STRINGSsupportedCore SQL functionsReturns an array of VARIANT values that contain the VARCHAR hexadecimal IDs of fewer, larger H3 cells that cover the same area as the H3 cells in the input.…
H3_COVERAGEsupportedCore SQL functionsReturns an array of IDs (as INTEGER values) identifying the minimal set of H3 cells that completely cover a shape (specified by a GEOGRAPHY object).
H3_COVERAGE_STRINGSsupportedCore SQL functionsReturns an array of hexadecimal IDs (as VARCHAR values) identifying the minimal set of H3 cells that completely cover a shape (specified by a GEOGRAPHY object).
H3_GET_RESOLUTIONsupportedCore SQL functionsReturns the resolution of an H3 cell.
H3_GRID_DISKsupportedCore SQL functionsReturns an array of the IDs of the H3 cells that are within the specified grid distance (k_value) of the given cell. The grid distance, often written as k in…
H3_GRID_DISTANCEsupportedCore SQL functionsReturns the distance between two H3 cells specified by their IDs.
H3_GRID_PATHsupportedCore SQL functionsReturns an array of the IDs of the H3 cells that represent the line between two cells. The IDs in the returned ARRAY are INTEGER values (if INTEGER values were…
H3_INT_TO_STRINGsupportedCore SQL functionsConverts the INTEGER value of an H3 cell ID to hexadecimal format.
H3_IS_PENTAGONsupportedCore SQL functionsReturns TRUE if the boundary of an H3 cell represents a pentagon.
H3_IS_VALID_CELLsupportedCore SQL functionsReturns TRUE if the input represents a valid H3 cell.
H3_LATLNG_TO_CELLsupportedCore SQL functionsReturns the INTEGER value of the H3 cell ID for a given latitude, longitude, and resolution.
H3_LATLNG_TO_CELL_STRINGsupportedCore SQL functionsReturns the H3 cell ID in hexadecimal format (as a VARCHAR value) for a given latitude, longitude, and resolution.
H3_POINT_TO_CELLsupportedCore SQL functionsReturns the INTEGER value of an H3 cell ID for a Point (specified by a GEOGRAPHY object) at a given resolution.
H3_POINT_TO_CELL_STRINGsupportedCore SQL functionsReturns the hexadecimal value of an H3 cell ID for a Point (specified by a GEOGRAPHY object) at a given resolution.
H3_POLYGON_TO_CELLSsupportedCore SQL functionsReturns an array of INTEGER values of the IDs of H3 cells that have centroids contained by a Polygon (specified by a GEOGRAPHY object).
H3_POLYGON_TO_CELLS_STRINGSsupportedCore SQL functionsReturns an array of VARCHAR values of the hexadecimal IDs of H3 cells that have centroids contained by a Polygon (specified by a GEOGRAPHY object).
H3_STRING_TO_INTsupportedCore SQL functionsConverts an H3 cell ID in hexadecimal format to an INTEGER value.
H3_TRY_COVERAGEsupportedCore SQL functionsA special version of H3_COVERAGE that returns NULL instead of reporting an error when the number of H3 cells that cover a shape exceeds the allowed limit. The…
H3_TRY_COVERAGE_STRINGSsupportedCore SQL functionsA special version of H3_COVERAGE_STRINGS that returns NULL instead of reporting an error when the number of H3 cells that cover a shape exceeds the allowed…
H3_TRY_GRID_DISTANCEsupportedCore SQL functionsA special version of H3_GRID_DISTANCE that returns NULL if an error occurs when it attempts to return the distance between two H3 cells.
H3_TRY_GRID_PATHsupportedCore SQL functionsA special version of H3_GRID_PATH that returns NULL if an error occurs when it attempts to return an array of VARIANT values that contain the IDs of the H3…
H3_TRY_POLYGON_TO_CELLSsupportedCore SQL functionsA special version of H3_POLYGON_TO_CELLS that returns NULL if an error occurs when it attempts to return an array of INTEGER values of the IDs of H3 cells that…
H3_TRY_POLYGON_TO_CELLS_STRINGSsupportedCore SQL functionsA special version of H3_POLYGON_TO_CELLS_STRINGS that returns NULL if an error occurs when it attempts to return an array of VARCHAR values of the hexadecimal…
H3_UNCOMPACT_CELLSsupportedCore SQL functionsReturns an array of VARIANT values that contain the INTEGER IDs of H3 cells at the specified resolution that cover the same area as the H3 cells in the input.
H3_UNCOMPACT_CELLS_STRINGSsupportedCore SQL functionsReturns an array of VARIANT values that contain the VARCHAR hexadecimal IDs of H3 cells at the specified resolution that cover the same area as the H3 cells in…
HAVERSINEsupportedCore SQL functionsCalculates the great-circle distance in kilometers between two points on the Earth’s surface, using the Haversine formula. The two points are specified by…
ST_AREAsupportedCore SQL functionsReturns the area of the Polygon(s) in a GEOGRAPHY or GEOMETRY object.
ST_ASBINARYsupportedCore SQL functionsGiven a value of type GEOGRAPHY or GEOMETRY, return the binary representation of that value in WKB (well-known binary) format.
ST_ASEWKBsupportedCore SQL functionsGiven a value of type GEOGRAPHY or GEOMETRY, return the binary representation of that value in EWKB (extended well-known binary) format.
ST_ASEWKTsupportedCore SQL functionsGiven a value of type GEOGRAPHY or GEOMETRY, return the text (VARCHAR) representation of that value in EWKT (extended well-known text) format.
ST_ASGEOJSONsupportedCore SQL functionsGiven a value of type GEOGRAPHY or GEOMETRY, return the GeoJSON representation of that value.
ST_ASTEXTsupportedCore SQL functionsGiven a value of type GEOGRAPHY or GEOMETRY, return the text (VARCHAR) representation of that value in WKT (well-known text) format.
ST_ASWKBsupportedCore SQL functionsGiven a value of type GEOGRAPHY or GEOMETRY, return the binary representation of that value in WKB (well-known binary) format.
ST_ASWKTsupportedCore SQL functionsGiven a value of type GEOGRAPHY or GEOMETRY, return the text (VARCHAR) representation of that value in WKT (well-known text) format.
ST_AZIMUTHsupportedCore SQL functionsGiven a Point that represents the origin (the location of the observer) and a specified Point, returns the azimuth in radians. Both Points must be either…
ST_BUFFERsupportedCore SQL functionsReturns a GEOMETRY object that represents a MultiPolygon containing the points within a specified distance of the input GEOMETRY object. The returned object…
ST_CENTROIDsupportedCore SQL functionsReturns the Point representing the geometric center of a GEOGRAPHY or GEOMETRY object.
ST_COLLECTsupportedCore SQL functionsThere are two forms of ST_COLLECT:
ST_CONTAINSsupportedCore SQL functionsReturns TRUE if a GEOGRAPHY or GEOMETRY object is completely inside another object of the same type.
ST_COVEREDBYsupportedCore SQL functionsReturns TRUE if no point in one geospatial object is outside another geospatial object. In other words:
ST_COVERSsupportedCore SQL functionsReturns TRUE if no point in one geospatial object is outside of another geospatial object. In other words:
ST_DIFFERENCEsupportedCore SQL functionsGiven two input GEOGRAPHY objects, returns a GEOGRAPHY object that represents the points in the first object that are not in the second object (i.e. the…
ST_DIMENSIONsupportedCore SQL functionsGiven a value of type GEOGRAPHY or GEOMETRY, return the “dimension” of the value. The dimension of a GEOGRAPHY or GEOMETRY value is:
ST_DISJOINTsupportedCore SQL functionsReturns TRUE if the two GEOGRAPHY objects or the two GEOMETRY objects are disjoint (i.e. do not share any portion of space). ST_DISJOINT is equivalent to NOT…
ST_DISTANCEsupportedCore SQL functionsReturns the minimum great circle distance between two GEOGRAPHY or the minimum Euclidean distance between two GEOMETRY objects.
ST_DWITHINsupportedCore SQL functionsReturns TRUE if the minimum great circle distance between two points (two GEOGRAPHY objects) is within the specified distance. Otherwise, returns FALSE.
ST_ENDPOINTsupportedCore SQL functionsReturns the last Point in a LineString.
ST_ENVELOPEdeprecatedsupportedCore SQL functionsReturns the minimum bounding box (a rectangular “envelope”) that encloses a specified GEOGRAPHY or GEOMETRY object.
ST_GEOGFROMGEOHASHsupportedCore SQL functionsReturns a GEOGRAPHY object for the polygon that represents the boundaries of a geohash.
ST_GEOGPOINTFROMGEOHASHsupportedCore SQL functionsReturns a GEOGRAPHY object for the Point that represents the center of a geohash.
ST_GEOGRAPHYFROMWKBsupportedCore SQL functionsParses a WKB (well-known binary) or EWKB (extended well-known binary) input and returns a value of type GEOGRAPHY.
ST_GEOGRAPHYFROMWKTsupportedCore SQL functionsParses a WKT (well-known text) or EWKT (extended well-known text) input and returns a value of type GEOGRAPHY.
ST_GEOHASHsupportedCore SQL functionsReturns the geohash for a GEOGRAPHY or GEOMETRY object. A geohash is a short base32 string that identifies a great circle rectangle containing a location in…
ST_GEOMETRYFROMWKBsupportedCore SQL functionsParses a WKB (well-known binary) or EWKB (extended well-known binary) input and returns a value of type GEOMETRY.
ST_GEOMETRYFROMWKTsupportedCore SQL functionsParses a WKT (well-known text) or EWKT (extended well-known text) input and returns a value of type GEOMETRY.
ST_GEOMFROMGEOHASHsupportedCore SQL functionsReturns a GEOMETRY object for the polygon that represents the boundaries of a geohash.
ST_GEOMPOINTsupportedCore SQL functionsConstructs a GEOMETRY object that represents a Point with the specified longitude and latitude.
ST_GEOMPOINTFROMGEOHASHsupportedCore SQL functionsReturns a GEOMETRY object for the point that represents center of a geohash.
ST_HAUSDORFFDISTANCEsupportedCore SQL functionsReturns the discrete Hausdorff distance between two GEOGRAPHY objects.
ST_INTERPOLATEsupportedCore SQL functionsGiven an input GEOGRAPHY object, returns an interpolated object that is within a specified tolerance.
ST_INTERSECTIONsupportedCore SQL functionsGiven two input GEOGRAPHY objects, returns a GEOGRAPHY object that represents the shape containing the set of points that are common to both input objects…
ST_INTERSECTION_AGGsupportedCore SQL functionsGiven a GEOGRAPHY column, returns a GEOGRAPHY object that represents the shape containing the combined set of points that are common to the shapes represented…
ST_INTERSECTSsupportedCore SQL functionsReturns TRUE if the two GEOGRAPHY objects or the two GEOMETRY objects intersect (i.e. share any portion of space).
ST_ISVALIDsupportedCore SQL functionsReturns TRUE if the specified GEOGRAPHY or GEOMETRY object represents a valid shape. Examples of invalid shapes include shapes with self-intersections and…
ST_LENGTHsupportedCore SQL functionsReturns the great circle length of the LineString(s) in a GEOGRAPHY object or the Euclidean length of the LineString(s) in a GEOMETRY object.
ST_MAKEGEOMPOINTsupportedCore SQL functionsConstructs a GEOMETRY object that represents a Point with the specified longitude and latitude.
ST_MAKELINEsupportedCore SQL functionsConstructs a GEOGRAPHY or GEOMETRY object that represents a line connecting the points in the input objects.
ST_MAKEPOINTsupportedCore SQL functionsConstructs a GEOGRAPHY object that represents a point with the specified longitude and latitude.
ST_MAKEPOLYGONsupportedCore SQL functionsConstructs a GEOGRAPHY or GEOMETRY object that represents a Polygon without holes. The function uses the specified LineString as the outer loop.
ST_MAKEPOLYGONORIENTEDsupportedCore SQL functionsConstructs a GEOGRAPHY object that represents a Polygon without holes. The function uses the specified LineString as the outer loop.
ST_NPOINTSsupportedCore SQL functionsReturns the number of points in a GEOGRAPHY or GEOGRAPHY object.
ST_NUMPOINTSsupportedCore SQL functionsReturns the number of points in a GEOGRAPHY or GEOGRAPHY object.
ST_PERIMETERsupportedCore SQL functionsReturns the length of the perimeter of the polygon(s) in a GEOGRAPHY or GEOMETRY object.
ST_POINTsupportedCore SQL functionsConstructs a GEOGRAPHY object that represents a point with the specified longitude and latitude.
ST_POINTNsupportedCore SQL functionsReturns a Point at a specified index in a LineString.
ST_POLYGONsupportedCore SQL functionsConstructs a GEOGRAPHY or GEOMETRY object that represents a Polygon without holes. The function uses the specified LineString as the outer loop.
ST_SETSRIDsupportedCore SQL functionsReturns a GEOMETRY object that has its SRID (spatial reference system identifier) set to the specified value.
ST_SIMPLIFYsupportedCore SQL functionsGiven an input GEOGRAPHY or GEOMETRY object that represents a Line or Polygon, returns a simpler approximation of the object. The function identifies and…
ST_SRIDsupportedCore SQL functionsReturns the SRID (spatial reference system identifier) of a GEOGRAPHY or GEOMETRY object.
ST_STARTPOINTsupportedCore SQL functionsReturns the first Point in a LineString.
ST_SYMDIFFERENCEsupportedCore SQL functionsGiven two input GEOGRAPHY objects, returns a GEOGRAPHY object that represents the set of points from both input objects that are not part of the intersection…
ST_TRANSFORMsupportedCore SQL functionsConverts a GEOMETRY object from one spatial reference system (SRS) to another.
ST_UNIONsupportedCore SQL functionsGiven two input GEOGRAPHY objects, returns a GEOGRAPHY object that represents the combined set of shapes for both objects (i.e. the union of the two shapes).
ST_UNION_AGGsupportedCore SQL functionsGiven a GEOGRAPHY column, returns a GEOGRAPHY object that represents the combined set of points that are in at least one of the shapes represented by the…
ST_WITHINsupportedCore SQL functionsReturns true if the first geospatial object is fully contained by the second geospatial object. In other words:
ST_XsupportedCore SQL functionsReturns the longitude (X coordinate) of a Point represented by a GEOGRAPHY or GEOMETRY object.
ST_XMAXsupportedCore SQL functionsReturns the maximum longitude (X coordinate) of all points contained in the specified GEOGRAPHY or GEOMETRY object.
ST_XMINsupportedCore SQL functionsReturns the minimum longitude (X coordinate) of all points contained in the specified GEOGRAPHY or GEOMETRY object.
ST_YsupportedCore SQL functionsReturns the latitude (Y coordinate) of a Point represented by a GEOGRAPHY or GEOMETRY object.
ST_YMAXsupportedCore SQL functionsReturns the maximum latitude (Y coordinate) of all points contained in the specified GEOGRAPHY or GEOMETRY object.
ST_YMINsupportedCore SQL functionsReturns the minimum latitude (Y coordinate) of all points contained in the specified GEOGRAPHY or GEOMETRY object.
TO_GEOGRAPHYsupportedCore SQL functionsParses an input and returns a value of type GEOGRAPHY.
TO_GEOMETRYpartialCore SQL functionsParses an input and returns a value of type GEOMETRY.
TRY_TO_GEOGRAPHYsupportedCore SQL functionsParses an input and returns a value of type GEOGRAPHY.
TRY_TO_GEOMETRYsupportedCore SQL functionsParses an input and returns a value of type GEOMETRY.

Hash functions (1)

FunctionSupportAreaDescription
HASHsupportedCore SQL functionsReturns a signed 64-bit hash value. Note that HASH never returns NULL, even for NULL inputs.

IPADDRESS functions (3)

FunctionSupportAreaDescription
IPADDRESS_TRUNCsupportedCore SQL functionsReturns the network address of an IPADDRESS value for a given prefix length. The function keeps the leading bits of the address that the prefix length…
TO_IPADDRESSsupportedCore SQL functionsConverts the input expression to an IPADDRESS value.
TRY_TO_IPADDRESSsupportedCore SQL functionsA special version of TO_IPADDRESS that performs the same operation (converts an input expression to an IPADDRESS value) but with error-handling support. If the…

Information Schema (63)

FunctionSupportAreaDescription
ALERT_HISTORYsupportedUDFs, procedures, tasks, alerts, scriptingThis INFORMATION_SCHEMA table function can be used to query the history of alerts within a specified date range. The function returns the history of alerts for…
APPLICATION_CALLBACK_HISTORYpreviewsupportedNative apps, listings & sharingReturns information about the history of callback invocations for Snowflake Native Apps in your Snowflake account. Each row represents a callback invocation,…
APPLICATION_SPECIFICATION_STATUS_HISTORYsupportedNative apps, listings & sharingReturns information about the history of the status changes for app specifications in your Snowflake account.
AUTOMATIC_CLUSTERING_HISTORYsupportedTables, views, streams, sequencesThis table function is used for querying the Automatic Clustering history for given tables within a specified date range. The information returned by the…
AUTO_REFRESH_REGISTRATION_HISTORYsupportedIceberg & external tablesThis table function can be used to query the history of data files registered in the metadata for a specified external table or directory table and the credits…
AVAILABLE_LISTINGSsupportedNative apps, listings & sharingReturns all listings that are available for the consumer to discover and access.
AVAILABLE_LISTING_REFRESH_HISTORYsupportedNative apps, listings & sharingReturns the past 14 days of refresh history for an available listing or a database mounted from a listing using cross-cloud auto-fulfillment. The information…
BIND_VALUESsupportedQueries & DMLThis INFORMATION_SCHEMA table function returns information about the values of bind variables used in queries.
CODE_BUNDLE_HISTORYsupportedContainer services & dev toolingReturns the run history of Code Bundles: one row per run of EXECUTE CODE BUNDLE or EXECUTE NOTEBOOK PROJECT, including anonymous runs (EXECUTE CODE BUNDLE FROM…
COMPLETE_TASK_GRAPHSsupportedUDFs, procedures, tasks, alerts, scriptingReturns the status of a completed graph run. The function returns details for runs that executed successfully, failed, or were cancelled in the past 60…
COPY_HISTORYsupportedData loading & unloadingThis table function can be used to query Snowflake data loading history along various dimensions within the last 14 days. The function returns load activity…
CORTEX_SEARCH_REFRESH_HISTORYsupportedAI & MLThis table function returns information about each refresh (completed and running) of Cortex Search services.
CURRENT_TASK_GRAPHSpartialUDFs, procedures, tasks, alerts, scriptingReturns the status of a graph run that is currently scheduled or is executing. A graph is currently defined as a single scheduled task or a task graph composed…
DATABASE_REFRESH_HISTORYsupportedReplication, failover & backupReturns the refresh history for a secondary database.
DATABASE_REFRESH_PROGRESSsupportedReplication, failover & backupThe DATABASE_REFRESH_PROGRESS family of functions can be used to query the status of a database refresh along various dimensions:
DATABASE_REFRESH_PROGRESS_BY_JOBsupportedReplication, failover & backupThe DATABASE_REFRESH_PROGRESS family of functions can be used to query the status of a database refresh along various dimensions:
DATABASE_REPLICATION_USAGE_HISTORYsupportedReplication, failover & backupThis table function can be used to query the replication history for a specified database within a specified date range. The information returned by the…
DATABASE_STORAGE_USAGE_HISTORYsupportedDatabases & schemasThis table function can be used to query the average daily storage usage, in bytes, for a single database (or all the databases in your account) within a…
DATA_METRIC_FUNCTION_EXPECTATIONSEnterprise+supportedGovernance (policies, tags, data quality)Returns information about the expectations that exist in the account.
DATA_METRIC_FUNCTION_REFERENCESEnterprise+supportedGovernance (policies, tags, data quality)Returns a row for each object that has the specified data metric function assigned to the object or returns a row for each data metric function assigned to the…
DATA_TRANSFER_HISTORYsupportedReplication, failover & backupThis table function can be used to query the history of data transferred from Snowflake tables into a different cloud storage provider’s network (i.e. from…
DBT_PROJECT_EXECUTION_HISTORYsupportedContainer services & dev toolingReturns the execution history of dbt Projects on Snowflake.
DYNAMIC_TABLESsupportedTables, views, streams, sequencesThis table function returns metadata about dynamic tables, including aggregate lag metrics and the status of the most recent refreshes, within 7 days of the…
DYNAMIC_TABLE_GRAPH_HISTORYsupportedTables, views, streams, sequencesThis table function returns information on all dynamic tables in the current account. This information includes the dependencies between dynamic tables and on…
DYNAMIC_TABLE_REFRESH_HISTORYsupportedTables, views, streams, sequencesThis table function returns information about each refresh (completed and running) of dynamic tables.
EXTERNAL_FUNCTIONS_HISTORYsupportedUDFs, procedures, tasks, alerts, scriptingThis table function retrieves the history of external functions called by Snowflake for your entire Snowflake account.
EXTERNAL_TABLE_FILESsupportedIceberg & external tablesThis table function can be used to query information about the staged data files included in the metadata for a specified external table.
EXTERNAL_TABLE_FILE_REGISTRATION_HISTORYsupportedIceberg & external tablesThis table function can be used to query information about the metadata history for an external table, including:
LISTING_REFRESH_HISTORYsupportedNative apps, listings & sharingReturns the past 14 days of refresh history for a cross-cloud auto-fulfillment listing. The information returned contains replication details for refresh…
LOGIN_HISTORYsupportedAccounts, users, sessions, warehousesThe LOGIN_HISTORY family of table functions can be used to query login attempts by Snowflake users along various dimensions:
LOGIN_HISTORY_BY_USERsupportedAccounts, users, sessions, warehousesThe LOGIN_HISTORY family of table functions can be used to query login attempts by Snowflake users along various dimensions:
MATERIALIZED_VIEW_REFRESH_HISTORYEnterprise+supportedTables, views, streams, sequencesThis table function is used for querying the materialized views refresh history for a specified materialized view within a specified date range. The…
NETWORK_RULE_REFERENCESsupportedIntegrations, network & secretsReturns a row for each object with which the specified network rule is associated or returns a row for each network rule associated with the specified…
NOTIFICATION_HISTORYsupportedIntegrations, network & secretsThis table function can be used to query the history of notifications sent through Snowflake. These notifications include:
ONLINE_FEATURE_TABLE_REFRESH_HISTORYsupportedAI & MLThis table function returns information about each refresh (completed and running) of online feature tables.
PIPE_USAGE_HISTORYsupportedData loading & unloadingThis table function can be used to query the history of data loaded into Snowflake tables using Snowpipe within a specified date range. The function returns…
POLICY_REFERENCESsupportedGovernance (policies, tags, data quality)Returns a row for each object that has the specified policy assigned to the object or returns a row for each policy assigned to the specified object.
QUERY_ACCELERATION_HISTORYEnterprise+supportedQueries & DMLThe QUERY_ACCELERATION_HISTORY function is used for querying the query acceleration service history within a specified date range. The information returned…
QUERY_HISTORYsupportedQueries & DMLYou can use the QUERY_HISTORY family of table functions to query Snowflake query history along various dimensions:
QUERY_HISTORY_BY_SESSIONsupportedQueries & DMLYou can use the QUERY_HISTORY family of table functions to query Snowflake query history along various dimensions:
QUERY_HISTORY_BY_USERsupportedQueries & DMLYou can use the QUERY_HISTORY family of table functions to query Snowflake query history along various dimensions:
QUERY_HISTORY_BY_WAREHOUSEsupportedQueries & DMLYou can use the QUERY_HISTORY family of table functions to query Snowflake query history along various dimensions:
REPLICATION_GROUP_DANGLING_REFERENCESBusiness Critical+supportedReplication, failover & backupDetects cases where an object that’s referenced in a replication group or failover group isn’t actually replicated to the secondary account. Snowflake refers…
REPLICATION_GROUP_REFRESH_HISTORYBusiness Critical+supportedReplication, failover & backupYou can use the REPLICATION_GROUP_REFRESH_HISTORY family of table functions to query the replication history for one secondary replication or failover group,…
REPLICATION_GROUP_REFRESH_HISTORY_ALLBusiness Critical+supportedReplication, failover & backupYou can use the REPLICATION_GROUP_REFRESH_HISTORY family of table functions to query the replication history for one secondary replication or failover group,…
REPLICATION_GROUP_REFRESH_PROGRESSBusiness Critical+supportedReplication, failover & backupYou can use the REPLICATION_GROUP_REFRESH_PROGRESS family of table functions to query the status of refresh operations for replication or failover groups:
REPLICATION_GROUP_REFRESH_PROGRESS_ALLBusiness Critical+supportedReplication, failover & backupYou can use the REPLICATION_GROUP_REFRESH_PROGRESS family of table functions to query the status of refresh operations for replication or failover groups:
REPLICATION_GROUP_REFRESH_PROGRESS_BY_JOBBusiness Critical+supportedReplication, failover & backupYou can use the REPLICATION_GROUP_REFRESH_PROGRESS family of table functions to query the status of refresh operations for replication or failover groups:
REPLICATION_GROUP_USAGE_HISTORYBusiness Critical+supportedReplication, failover & backupReturns the replication usage history for secondary replication or failover groups within the last 14 days.
REPLICATION_USAGE_HISTORYdeprecatedsupportedReplication, failover & backupThis table function can be used to query the replication history for a specified database within a specified date range. The information returned by the…
SEARCH_OPTIMIZATION_HISTORYEnterprise+supportedTables, views, streams, sequencesThis table function is used for querying maintenance history for indexes maintained by the search optimization service for a specified table within a specified…
SERVERLESS_ALERT_HISTORYsupportedUDFs, procedures, tasks, alerts, scriptingThis table function is used for querying the serverless alert usage history. The information returned by the function includes the alert name and credits…
SERVERLESS_TASK_HISTORYsupportedUDFs, procedures, tasks, alerts, scriptingThis table function is used for querying the serverless task usage history. The information returned by the function includes the task name and credits…
STAGE_DIRECTORY_FILE_REGISTRATION_HISTORYsupportedData loading & unloadingThis table function can be used to query information about the metadata history for a directory table, including:
STAGE_STORAGE_USAGE_HISTORYsupportedData loading & unloadingThis table function can be used to query the average daily data storage usage, in bytes, for all the Snowflake stages in your account within a specified date…
TAG_REFERENCESsupportedGovernance (policies, tags, data quality)Returns a table in which each row displays an association between a tag and value.
TAG_REFERENCES_ALL_COLUMNSsupportedGovernance (policies, tags, data quality)Returns a table in which each row displays the tag name and tag value assigned to a specific column.
TASK_DEPENDENTSsupportedUDFs, procedures, tasks, alerts, scriptingThis table function returns the list of child tasks for a given root task in a task graph.
TASK_GRAPH_CHANGESpreviewnot supportedUDFs, procedures, tasks, alerts, scriptingThis table function previews the uncommitted changes for a task graph object — the difference between the live (possibly-staged) definition of the graph and…
TASK_HISTORYsupportedUDFs, procedures, tasks, alerts, scriptingYou can use this table function to query the history of task usage within a specified date range. The function returns the history of task usage for your…
VALIDATE_PIPE_LOADsupportedData loading & unloadingThis table function can be used to validate data files processed by Snowpipe within a specified time range. The function returns details about any errors…
WAREHOUSE_LOAD_HISTORYsupportedAccounts, users, sessions, warehousesThis table function can be used to query the activity history (defined as the “query load”) for a single warehouse within a specified date range.
WAREHOUSE_METERING_HISTORYsupportedAccounts, users, sessions, warehousesThis table function can be used in queries to return the hourly credit usage for a single warehouse (or all the warehouses in your account) within a specified…

LOCAL schema (2)

FunctionSupportAreaDescription
DATA_QUALITY_MONITORING_EXPECTATION_STATUSEnterprise+supportedGovernance (policies, tags, data quality)For a specified object, returns a row for every time a data metric function (DMF) with an expectation was run. You can obtain the status of the expectation in…
DATA_QUALITY_MONITORING_RESULTSsupportedGovernance (policies, tags, data quality)Returns a row for each data metric function assigned to the specified object, which includes the evaluation result and other metadata of the data metric…

Metadata functions (2)

FunctionSupportAreaDescription
GENERATE_COLUMN_DESCRIPTIONsupportedData loading & unloadingGenerates a list of columns from a set of staged files that contain semi-structured data using the INFER_SCHEMA function output.
GET_DDLsupportedDatabases & schemasReturns a DDL statement that can be used to recreate the specified object. For databases and schemas, GET_DDL is recursive (that is, it returns the DDL…

Model monitor functions (3)

FunctionSupportAreaDescription
MODEL_MONITOR_DRIFT_METRICsupportedAI & MLGets drift metrics from a model monitor. Each model monitor monitors one machine learning model. See ML Observability for model version monitors and Gateway…
MODEL_MONITOR_PERFORMANCE_METRICsupportedAI & MLGets performance metrics from a model monitor. Each model monitor monitors one machine learning model. See ML Observability for model version monitors and…
MODEL_MONITOR_STAT_METRICpartialAI & MLGets stat metrics from a model monitor. Each model monitor monitors one machine learning model. See ML Observability for model version monitors and Gateway…

Notification functions (6)

FunctionSupportAreaDescription
APPLICATION_JSONsupportedIntegrations, network & secretsReturns a JSON object that specifies the JSON message to use for a notification. This is a helper function that you use to construct a message object for the…
EMAIL_INTEGRATION_CONFIGsupportedIntegrations, network & secretsReturns a JSON object that specifies the email notification integration, recipients, and subject line to use for an email notification. This is a helper…
INTEGRATIONsupportedIntegrations, network & secretsReturns a JSON object that specifies the notification integration to use to send a message. This is a helper function that you use to construct an integration…
SANITIZE_WEBHOOK_CONTENTsupportedIntegrations, network & secretsRemoves placeholders (for example, the SNOWFLAKE_WEBHOOK_SECRET placeholder, which specifies a secret) from the body of a notification message to be sent.
TEXT_HTMLsupportedIntegrations, network & secretsReturns a JSON object that specifies the HTML message to use for a notification. This is a helper function that you use to construct a message object for the…
TEXT_PLAINsupportedIntegrations, network & secretsReturns a JSON object that specifies the plain text message to use for a notification. This is a helper function that you use to construct a message object for…

Numeric functions (37)

FunctionSupportAreaDescription
ABSsupportedCore SQL functionsReturns the absolute value of a numeric expression.
ACOSsupportedCore SQL functionsComputes the inverse cosine (arc cosine) of its input; the result is a number in the interval [0, pi].
ACOSHsupportedCore SQL functionsComputes the inverse (arc) hyperbolic cosine of its input.
ASINsupportedCore SQL functionsComputes the inverse sine (arc sine) of its argument; the result is a number in the interval [-pi/2, pi/2].
ASINHsupportedCore SQL functionsComputes the inverse (arc) hyperbolic sine of its argument.
ATANsupportedCore SQL functionsComputes the inverse tangent (arc tangent) of its argument; the result is a number in the interval [-pi, pi].
ATAN2supportedCore SQL functionsComputes the inverse tangent (arc tangent) of the ratio of its two arguments. For example, if x > 0, then the expression ATAN2(y, x) is equivalent to ATAN(y/x).
ATANHsupportedCore SQL functionsComputes the inverse (arc) hyperbolic tangent of its argument.
CBRTsupportedCore SQL functionsReturns the cubic root of a numeric expression.
CEILsupportedCore SQL functionsReturns values from input_expr rounded to the nearest equal or larger integer, or to the nearest equal or larger value with the specified number of places…
COSsupportedCore SQL functionsComputes the cosine of its argument; the argument should be expressed in radians.
COSHsupportedCore SQL functionsComputes the hyperbolic cosine of its argument.
COTsupportedCore SQL functionsComputes the cotangent of its argument; the argument should be expressed in radians.
DEGREESsupportedCore SQL functionsConverts radians to degrees.
DIV0supportedCore SQL functionsPerforms division like the division operator (/), but returns 0 when the divisor is 0 (rather than reporting an error).
DIV0NULLsupportedCore SQL functionsPerforms division like the division operator (/), but returns 0 when the divisor is 0 or NULL (rather than reporting an error or returning NULL).
EXPsupportedCore SQL functionsComputes Euler’s number e raised to a floating-point value.
FACTORIALsupportedCore SQL functionsComputes the factorial of its input. The input argument must be an integer expression in the range of 0 to 33.
FLOORsupportedCore SQL functionsReturns values from input_expr rounded to the nearest equal or smaller integer, or to the nearest equal or smaller value with the specified number of places…
LNsupportedCore SQL functionsReturns the natural logarithm of a numeric expression.
LOGsupportedCore SQL functionsReturns the logarithm of a numeric expression.
MODsupportedCore SQL functionsReturns the remainder of input expr1 divided by input expr2.
PIsupportedCore SQL functionsReturns the value of pi as a floating-point value.
POWsupportedCore SQL functionsReturns a number (x) raised to the specified power (y).
POWERsupportedCore SQL functionsReturns a number (x) raised to the specified power (y).
RADIANSsupportedCore SQL functionsConverts degrees to radians.
ROUNDsupportedCore SQL functionsReturns rounded values for input_expr.
SIGNsupportedCore SQL functionsReturns the sign of its argument:
SINsupportedCore SQL functionsComputes the sine of its argument; the argument should be expressed in radians.
SINHsupportedCore SQL functionsComputes the hyperbolic sine of its argument.
SQRTsupportedCore SQL functionsReturns the square-root of a non-negative numeric expression.
SQUAREsupportedCore SQL functionsReturns the square of a numeric expression (i.e. a numeric expression multiplied by itself).
TANsupportedCore SQL functionsComputes the tangent of its argument; the argument should be expressed in radians.
TANHsupportedCore SQL functionsComputes the hyperbolic tangent of its argument.
TRUNCsupportedCore SQL functionsRounds the input expression down to the nearest (or equal) value closer to zero. Depending on the value you specify as the scale parameter, the transformation…
TRUNCATEsupportedCore SQL functionsRounds the input expression down to the nearest (or equal) value closer to zero. Depending on the value you specify as the scale parameter, the transformation…
WIDTH_BUCKETsupportedCore SQL functionsConstructs equi-width histograms, in which the histogram range is divided into intervals of identical size, and returns the bucket number into which the value…

Organization user and organization user group functions (2)

FunctionSupportAreaDescription
IS_ORGANIZATION_USERsupportedAccounts, users, sessions, warehousesReturns TRUE if the argument is a Snowflake user who is an organization user.
IS_ORGANIZATION_USER_GROUPsupportedAccounts, users, sessions, warehousesReturns TRUE if the specified role was created when an administrator added an organization user group to the account.

Period functions (14)

FunctionSupportAreaDescription
PERIOD_BEGINsupportedCore SQL functionsReturns the inclusive beginning bound of a PERIOD value.
PERIOD_CONSTRUCTsupportedCore SQL functionsConstructs a PERIOD value from a beginning bound and an ending bound of the same temporal element type.
PERIOD_CONTAINSsupportedCore SQL functionsReturns TRUE if a PERIOD contains another PERIOD, or contains a temporal instant of the same element type.
PERIOD_ENDsupportedCore SQL functionsReturns the exclusive ending bound of a PERIOD value.
PERIOD_EQUALSsupportedCore SQL functionsReturns TRUE if two PERIOD values have the same beginning and ending bounds.
PERIOD_IMMEDIATELY_PRECEDESsupportedCore SQL functionsReturns TRUE if the first PERIOD ends exactly where the second PERIOD begins.
PERIOD_IMMEDIATELY_SUCCEEDSsupportedCore SQL functionsReturns TRUE if the first PERIOD begins exactly where the second PERIOD ends.
PERIOD_INTERSECTsupportedCore SQL functionsReturns the overlapping sub-range of two PERIOD values, or NULL if the periods are disjoint.
PERIOD_LDIFFsupportedCore SQL functionsReturns the portion of the first PERIOD that lies before the second PERIOD begins, or NULL when there is no such remainder.
PERIOD_MEETSsupportedCore SQL functionsReturns TRUE if two PERIOD values are adjacent in either order.
PERIOD_OVERLAPSsupportedCore SQL functionsReturns TRUE if two PERIOD values share any instant.
PERIOD_PRECEDESsupportedCore SQL functionsReturns TRUE if the first PERIOD ends at or before the second PERIOD begins.
PERIOD_RDIFFsupportedCore SQL functionsReturns the portion of the first PERIOD that lies after the second PERIOD ends, or NULL when there is no such remainder.
PERIOD_SUCCEEDSsupportedCore SQL functionsReturns TRUE if the first PERIOD begins at or after the second PERIOD ends.

Semi-structured and structured data functions (102)

FunctionSupportAreaDescription
ARRAYS_OVERLAPsupportedCore SQL functionsCompares whether two arrays have at least one element in common. Returns TRUE if there is at least one element in common; otherwise returns FALSE. The function…
ARRAYS_TO_OBJECTsupportedCore SQL functionsReturns an OBJECT that contains the keys specified by one input ARRAY and the values specified by another input ARRAY.
ARRAYS_ZIPsupportedCore SQL functionsReturns an array of objects, each of which contains key-value pairs for an nth element in the input arrays. For example, in the returned array, the first…
ARRAY_AGGsupportedCore SQL functionsReturns the input values, pivoted into an array. If the input is empty, the function returns an empty array.
ARRAY_APPENDsupportedCore SQL functionsReturns an array containing all elements from the source array as well as the new element. The new element is located at the end of the array.
ARRAY_CATsupportedCore SQL functionsReturns a concatenation of two arrays.
ARRAY_COMPACTsupportedCore SQL functionsReturns a compacted array with missing and null values removed, effectively converting sparse arrays into dense arrays.
ARRAY_CONSTRUCTsupportedCore SQL functionsReturns an array constructed from zero, one, or more inputs.
ARRAY_CONSTRUCT_COMPACTsupportedCore SQL functionsReturns an array constructed from zero, one, or more inputs; the constructed array omits any NULL input values.
ARRAY_CONSTRUCT_STRUCTUREDsupportedCore SQL functionsReturns a structured ARRAY constructed from one or more inputs, where the element type is the common type of the inputs.
ARRAY_CONTAINSsupportedCore SQL functionsReturns TRUE if the specified value is found in the specified array.
ARRAY_DISTINCTsupportedCore SQL functionsReturns a new ARRAY that contains only the distinct elements from the input ARRAY. The function excludes any duplicate elements that are present in the input…
ARRAY_EXCEPTsupportedCore SQL functionsReturns a new ARRAY that contains the elements from one input ARRAY that are not in another input ARRAY.
ARRAY_FLATTENsupportedCore SQL functionsFlattens an ARRAY of ARRAYs into a single ARRAY. The function effectively concatenates the ARRAYs that are elements of the input ARRAY and returns them as a…
ARRAY_GENERATE_RANGEsupportedCore SQL functionsReturns an ARRAY of integer values within a specified range (e.g. [2, 3, 4]).
ARRAY_INSERTsupportedCore SQL functionsReturns an array containing all elements from the source array as well as the new element.
ARRAY_INTERSECTIONsupportedCore SQL functionsReturns an array that contains the matching elements in the two input arrays.
ARRAY_MAXsupportedCore SQL functionsGiven an input ARRAY, returns the element with the highest value that is not a SQL NULL. If the input ARRAY is empty or contains only SQL NULL elements, this…
ARRAY_MINsupportedCore SQL functionsGiven an input ARRAY, returns the element with the lowest value that is not a SQL NULL. If the input ARRAY is empty or contains only SQL NULL elements, this…
ARRAY_POSITIONsupportedCore SQL functionsReturns the index of the first occurrence of an element in an array.
ARRAY_PREPENDsupportedCore SQL functionsReturns an array containing the new element as well as all elements from the source array. The new element is positioned at the beginning of the array.
ARRAY_REMOVEsupportedCore SQL functionsGiven a source ARRAY, returns an ARRAY with elements of the specified value removed.
ARRAY_REMOVE_ATsupportedCore SQL functionsGiven a source ARRAY, returns an ARRAY with the element at the specified position removed.
ARRAY_REPEATsupportedCore SQL functionsReturns an ARRAY value containing a specified number of copies of an element.
ARRAY_REVERSEsupportedCore SQL functionsReturns an array with the elements of the input array in reverse order.
ARRAY_SIZEsupportedCore SQL functionsReturns the size of the input array.
ARRAY_SLICEsupportedCore SQL functionsReturns an array constructed from a specified subset of elements of the input array.
ARRAY_SORTsupportedCore SQL functionsReturns an ARRAY that contains the elements of the input ARRAY sorted in ascending or descending order. You can specify whether or not NULL elements are sorted…
ARRAY_SUMsupportedCore SQL functionsAggregates a column of structured ARRAY values by summing them element by element. The value at each position in the result is the sum of the values at that…
ARRAY_TO_STRINGsupportedCore SQL functionsReturns an input array converted to a string by casting all values to strings (using TO_VARCHAR) and concatenating them (using the string from the second…
AS_ARRAYsupportedCore SQL functionsYou can use this family of functions to perform strict casting of VARIANT values to values of other data types:
AS_BINARYsupportedCore SQL functionsYou can use this family of functions to perform strict casting of VARIANT values to values of other data types:
AS_BOOLEANsupportedCore SQL functionsYou can use this family of functions to perform strict casting of VARIANT values to values of other data types:
AS_CHARsupportedCore SQL functionsCasts a VARIANT value to a VARCHAR value. This function only converts CHAR and VARCHAR values.
AS_DATEsupportedCore SQL functionsYou can use this family of functions to perform strict casting of VARIANT values to values of other data types:
AS_DECIMALsupportedCore SQL functionsCasts a VARIANT value to a fixed-point NUMBER value, with optional precision and scale. This function doesn’t cast floating-point values.
AS_DOUBLEsupportedCore SQL functionsCasts a VARIANT value to a floating-point value.
AS_INTEGERsupportedCore SQL functionsYou can use this family of functions to perform strict casting of VARIANT values to values of other data types:
AS_NUMBERsupportedCore SQL functionsCasts a VARIANT value to a fixed-point NUMBER value, with optional precision and scale. This function doesn’t cast floating-point values.
AS_OBJECTsupportedCore SQL functionsYou can use this family of functions to perform strict casting of VARIANT values to values of other data types:
AS_REALsupportedCore SQL functionsCasts a VARIANT value to a floating-point value.
AS_TIMEsupportedCore SQL functionsYou can use this family of functions to perform strict casting of VARIANT values to values of other data types:
AS_TIMESTAMP_LTZsupportedCore SQL functionsCasts a VARIANT value to the respective timestamp value:
AS_TIMESTAMP_NTZsupportedCore SQL functionsCasts a VARIANT value to the respective timestamp value:
AS_TIMESTAMP_TZsupportedCore SQL functionsCasts a VARIANT value to the respective timestamp value:
AS_VARCHARsupportedCore SQL functionsCasts a VARIANT value to a VARCHAR value. This function only converts CHAR and VARCHAR values.
CHECK_JSONsupportedCore SQL functionsChecks the validity of a JSON document. If the input string is a valid JSON document or a NULL, the output is NULL (i.e. no error). If the input cannot be…
CHECK_XMLsupportedCore SQL functionsChecks the validity of an XML document. If the input string is NULL or a valid XML document, the output is NULL. In case of an XML parsing error, the output…
FILTERsupportedCore SQL functionsFilters an array based on the logic in a lambda expression.
FLATTENsupportedCore SQL functionsFlattens (explodes) compound values into multiple rows.
GETsupportedCore SQL functionsExtracts a value from an ARRAY or an OBJECT (or a VARIANT that contains an ARRAY or OBJECT).
GET_IGNORE_CASEsupportedCore SQL functionsExtracts a field value from an object; returns NULL if either of the arguments is NULL.
GET_PATHsupportedCore SQL functionsExtracts a value from semi-structured data using a path name.
IS_ARRAYsupportedCore SQL functionsThis family of functions serves as Boolean predicates that can be used to determine the data type of a value stored in a VARIANT column:
IS_BINARYsupportedCore SQL functionsThis family of functions serves as Boolean predicates that can be used to determine the data type of a value stored in a VARIANT column:
IS_BOOLEANsupportedCore SQL functionsThis family of functions serves as Boolean predicates that can be used to determine the data type of a value stored in a VARIANT column:
IS_CHARsupportedCore SQL functionsReturns TRUE if its VARIANT argument contains a string value.
IS_DATEsupportedCore SQL functionsReturns TRUE if its VARIANT argument contains a DATE value.
IS_DATE_VALUEsupportedCore SQL functionsReturns TRUE if its VARIANT argument contains a DATE value.
IS_DECIMALsupportedCore SQL functionsThis family of functions serves as Boolean predicates that can be used to determine the data type of a value stored in a VARIANT column:
IS_DOUBLEsupportedCore SQL functionsReturns TRUE if its VARIANT argument contains a floating-point number, fixed-point number, or integer value.
IS_INTEGERsupportedCore SQL functionsThis family of functions serves as Boolean predicates that can be used to determine the data type of a value stored in a VARIANT column:
IS_NULL_VALUEsupportedCore SQL functionsThis family of functions serves as Boolean predicates that can be used to determine the data type of a value stored in a VARIANT column:
IS_OBJECTsupportedCore SQL functionsThis family of functions serves as Boolean predicates that can be used to determine the data type of a value stored in a VARIANT column:
IS_REALsupportedCore SQL functionsReturns TRUE if its VARIANT argument contains a floating-point number, fixed-point number, or integer value.
IS_TIMEsupportedCore SQL functionsThis family of functions serves as Boolean predicates that can be used to determine the data type of a value stored in a VARIANT column:
IS_TIMESTAMP_LTZsupportedCore SQL functionsVerifies whether a VARIANT argument contains the respective timestamp value:
IS_TIMESTAMP_NTZsupportedCore SQL functionsVerifies whether a VARIANT argument contains the respective timestamp value:
IS_TIMESTAMP_TZsupportedCore SQL functionsVerifies whether a VARIANT argument contains the respective timestamp value:
IS_VARCHARsupportedCore SQL functionsReturns TRUE if its VARIANT argument contains a string value.
JSON_EXTRACT_PATH_TEXTsupportedCore SQL functionsParses the first argument as a JSON string and returns the value of the element pointed to by the path in the second argument. This is equivalent to…
MAP_CATsupportedCore SQL functionsReturns the concatenation of two MAP values.
MAP_CONSTRUCTsupportedCore SQL functionsReturns a MAP constructed from a series of alternating keys and values.
MAP_CONTAINS_KEYsupportedCore SQL functionsDetermines whether the specified MAP contains the specified key.
MAP_DELETEsupportedCore SQL functionsReturns a MAP based on an existing MAP with one or more keys removed.
MAP_ENTRIESsupportedCore SQL functionsReturns an ARRAY value of key-value pair objects for each entry in a MAP value.
MAP_INSERTsupportedCore SQL functionsReturns a new MAP consisting of the input MAP with a new key-value pair inserted. That is, an existing key is updated with a new value.
MAP_KEYSsupportedCore SQL functionsReturns the keys in a MAP.
MAP_PICKsupportedCore SQL functionsReturns a new MAP containing the specified key-value pairs from an existing MAP.
MAP_SIZEsupportedCore SQL functionsReturns the size of a MAP.
OBJECT_AGGsupportedCore SQL functionsReturns one OBJECT per group. For each (key, value) input pair, where key must be a VARCHAR and value must be a VARIANT, the resulting OBJECT contains a…
OBJECT_CONSTRUCTsupportedCore SQL functionsReturns an OBJECT constructed from the arguments.
OBJECT_CONSTRUCT_KEEP_NULLsupportedCore SQL functionsReturns an OBJECT constructed from the arguments that retains key-value pairs with NULL values.
OBJECT_CONSTRUCT_KEEP_NULL_STRUCTUREDsupportedCore SQL functionsReturns a structured OBJECT constructed from the arguments that retains key-value pairs with NULL values.
OBJECT_DELETEsupportedCore SQL functionsReturns an object containing the contents of the input (that is, source) object with one or more keys removed.
OBJECT_INSERTsupportedCore SQL functionsReturns an OBJECT value consisting of the input OBJECT value with a new key-value pair inserted (or an existing key updated with a new value).
OBJECT_KEYSsupportedCore SQL functionsReturns an array containing the list of keys in the top-most level of the input object.
OBJECT_PICKsupportedCore SQL functionsReturns a new OBJECT containing some of the key-value pairs from an existing object.
PARSE_JSONsupportedCore SQL functionsInterprets an input string as a JSON document, producing a VARIANT value.
PARSE_XMLsupportedCore SQL functionsInterprets an input string as an XML document, producing an OBJECT value. If the input is NULL, the output is NULL.
PROMPTpreviewnot supportedAI & MLThe PROMPT function constructs a structured OBJECT containing a template string and a list of arguments. This object is useful for dynamically formatting…
REDUCEsupportedCore SQL functionsReduces an array to a single value based on the logic in a lambda expression.
STRIP_NULL_VALUEsupportedCore SQL functionsConverts a JSON null value to a SQL NULL value. All other variant values are passed unchanged.
STRTOK_TO_ARRAYsupportedCore SQL functionsTokenizes the given string using the given set of delimiters and returns the tokens as an ARRAY value.
TO_ARRAYsupportedCore SQL functionsConverts the input expression to an ARRAY value.
TO_JSONsupportedCore SQL functionsConverts a VARIANT value to a string containing the JSON representation of the value.
TO_OBJECTsupportedCore SQL functionsConverts the input value to an OBJECT:
TO_XMLsupportedCore SQL functionsConverts a VARIANT to a VARCHAR that contains an XML representation of the value. If the input is NULL, the result is also NULL.
TRANSFORMsupportedCore SQL functionsTransforms an array based on the logic in a lambda expression.
TRY_PARSE_JSONsupportedCore SQL functionsA special version of PARSE_JSON that returns a NULL value if an error occurs during parsing.
TYPEOFsupportedCore SQL functionsReturns the type of a value stored in a VARIANT column.
XMLGETsupportedCore SQL functionsExtracts an XML element object (often referred to as simply a tag) from the content of the outer XML element based on the name and instance number of the…

String & binary functions (109)

FunctionSupportAreaDescription
AGENT_RUNdeferredAI & MLRuns a Cortex Agent without an agent object and returns the response as JSON.
AI_AGGdeferredAI & MLReduces a column of text data using a natural language instruction.
AI_CLASSIFYdeferredAI & MLClassifies text, images, or documents into categories that you specify.
AI_COMPLETEpreviewdeferredAI & MLGenerates a response (completion) from text, images, documents, audio, or video using a supported language model. The input types you can use depend on the…
AI_COUNT_TOKENSdeferredAI & MLReturns an estimate of the number of input tokens in a prompt for the specified large language model or task-specific function. For functions that can take…
AI_EMBEDdeferredAI & MLCreates an embedding vector from text or an image. Embeddings are abstract numerical representations of the features of a piece of text or an image that can be…
AI_EXTRACTdeferredAI & MLExtracts information from an input string or file.
AI_FILTERdeferredAI & MLClassifies free-form prompt inputs into a boolean. Currently supports both text and image filtering.
AI_FUNCTION_EVALUATIONdeferredAI & MLAI_FUNCTION_EVALUATION measures the output quality of an AI function or Cortex AI call against a labeled dataset. You specify the expression to evaluate, a…
AI_FUNCTION_OPTIMIZATIONdeferredAI & MLAI_FUNCTION_OPTIMIZATION searches for improved implementations of an AI function using a labeled dataset and a scoring metric. You specify the AI function to…
AI_MULTI_EMBEDdeferredAI & MLCreates multimodal embeddings from text, an image, an audio file, or a video file. Embeddings are abstract numerical representations of the features of an…
AI_PARSE_DOCUMENTdeferredAI & MLReturns document content from a Snowflake stage as a JSON-formatted string. Supports text extraction (OCR), text and layout extraction (LAYOUT), and text,…
AI_REDACTdeferredAI & MLPersonally identifiable information (PII) includes names, addresses, phone numbers, email addresses, tax identification numbers, and other data that can be…
AI_SENTIMENTdeferredAI & MLAI_SENTIMENT provides sentiment classification across diverse markets and languages. It uses a custom Snowflake large language model to return overall…
AI_SIMILARITYdeferredAI & MLComputes a similarity score based on the vector cosine similarity value of the inputs’ embedding vectors. Currently supports both text and image similarity…
AI_SUMMARIZEpreviewdeferredAI & MLAI_SUMMARIZE is a managed Cortex AI function for summarizing text and multimodal content. It accepts either a TEXT input or a FILE reference to an image or…
AI_SUMMARIZE_AGGdeferredAI & MLSummarizes a column of text data.
AI_TRANSLATEdeferredAI & MLTranslates the given input text from one supported language to another.
ASCIIsupportedCore SQL functionsReturns the ASCII code for the first character of a string. If the string is empty, a value of 0 is returned.
BASE64_DECODE_BINARYsupportedCore SQL functionsDecodes a Base64-encoded string to a binary.
BASE64_DECODE_STRINGsupportedCore SQL functionsDecodes a Base64-encoded string to a string.
BASE64_ENCODEsupportedCore SQL functionsEncodes the input (string or binary) using Base64 encoding.
BIT_LENGTHsupportedCore SQL functionsReturns the length of a string or binary value in bits.
CHARsupportedCore SQL functionsConverts a Unicode code point (including 7-bit ASCII) into the character that matches the input Unicode. If an invalid code point is specified, an error is…
CHARINDEXsupportedCore SQL functionsSearches for the first occurrence of the first argument in the second argument and, if successful, returns the position (1-based) of the first argument in the…
CHRsupportedCore SQL functionsConverts a Unicode code point (including 7-bit ASCII) into the character that matches the input Unicode. If an invalid code point is specified, an error is…
CLASSIFY_TEXTdeferredAI & MLNotice
COLLATEsupportedCore SQL functionsReturns a copy of the original string, but with the specified collation_specification property instead of the original collation_specification property.
COLLATIONsupportedCore SQL functionsReturns the collation specification of the expression.
COMPLETEdeferredAI & MLNotice
COMPRESSsupportedCore SQL functionsCompresses the input string or binary value with a compression method.
CONCATsupportedCore SQL functionsConcatenates one or more strings, or concatenates one or more binary values.
CONCAT_WSsupportedCore SQL functionsConcatenates two or more strings, or concatenates two or more binary values, and uses the first argument as a delimiter between the following strings.
CONTAINSsupportedCore SQL functionsReturns true if expr1 contains expr2. Both expressions must be text or binary expressions.
COUNT_TOKENSdeferredAI & MLNotice
DATA_AGENT_RUNdeferredAI & MLRuns a Cortex Agent and returns the response as JSON.
DECOMPRESS_BINARYsupportedCore SQL functionsDecompresses the compressed BINARY input parameter.
DECOMPRESS_STRINGsupportedCore SQL functionsDecompresses the compressed BINARY input parameter to a string.
EDITDISTANCEsupportedCore SQL functionsComputes the Levenshtein distance between two input strings. It is the number of single-character insertions, deletions, or substitutions needed to convert one…
EMBED_TEXT_1024deferredAI & MLNotice
EMBED_TEXT_768deferredAI & MLNotice
ENDSWITHsupportedCore SQL functionsReturns TRUE if the first expression ends with the second expression. Both expressions must be text or binary expressions.
ENTITY_SENTIMENTpreviewdeferredAI & MLNotice
EXTRACT_ANSWERdeferredAI & MLNotice
FINETUNEdeferredAI & MLCancels the specified fine-tuning job from the current schema.
FORMAT_STRING_TEMPLATEsupportedCore SQL functionsFormats a string by substituting placeholders with values, providing type-aware string interpolation.
HEX_DECODE_BINARYsupportedCore SQL functionsDecodes a hex-encoded string to a binary.
HEX_DECODE_STRINGsupportedCore SQL functionsDecodes a hex-encoded string to a string.
HEX_ENCODEsupportedCore SQL functionsEncodes the input using hexadecimal (also ‘hex’ or ‘base16’) encoding. The result is comprised of 16 different symbols: The numbers ’0’ to ’9’ as well as the…
INITCAPsupportedCore SQL functionsReturns the input string with the first letter of each word in uppercase and the subsequent letters in lowercase.
INSERTsupportedCore SQL functionsReplaces a substring of the specified length, starting at the specified position, with a new string or binary value.
JAROWINKLER_SIMILARITYsupportedCore SQL functionsComputes the Jaro-Winkler similarity between two input strings. The function returns an integer between 0 and 100, where 0 indicates no similarity and 100…
LEFTsupportedCore SQL functionsReturns a leftmost substring of its input.
LENsupportedCore SQL functionsReturns the length of an input string or binary value. For strings, the length is the number of characters, and UTF-8 characters are counted as a single…
LENGTHsupportedCore SQL functionsReturns the length of an input string or binary value. For strings, the length is the number of characters, and UTF-8 characters are counted as a single…
LOWERsupportedCore SQL functionsReturns the input string with all characters converted to lowercase.
LPADsupportedCore SQL functionsLeft-pads a string with characters from another string, or left-pads a binary value with bytes from another binary value.
LTRIMsupportedCore SQL functionsRemoves leading characters, including whitespace, from a string.
MD5supportedCore SQL functionsReturns a 32-character hex-encoded string containing the 128-bit MD5 message digest.
MD5_BINARYsupportedCore SQL functionsReturns a 16-byte BINARY value containing the 128-bit MD5 message digest.
MD5_HEXsupportedCore SQL functionsReturns a 32-character hex-encoded string containing the 128-bit MD5 message digest.
MD5_NUMBER_LOWER64supportedCore SQL functionsCalculates the 128-bit MD5 message digest, interprets it as a signed 128-bit big endian number, and returns the lower 64 bits of the number as an unsigned…
MD5_NUMBER_UPPER64supportedCore SQL functionsCalculates the 128-bit MD5 message digest, interprets it as a signed 128-bit big endian number, and returns the upper 64 bits of the number as an unsigned…
OCTET_LENGTHsupportedCore SQL functionsReturns the length of a string or binary value in bytes. This will be the same as LENGTH for ASCII strings and greater than LENGTH for strings using Unicode…
PARSE_IPsupportedCore SQL functionsReturns a JSON object consisting of all the components from a valid INET (Internet Protocol) or CIDR (Classless Internet Domain Routing) IPv4 or IPv6 string.
PARSE_URLsupportedCore SQL functionsReturns an OBJECT value that consists of all the components (fragment, host, parameters, path, port, query, scheme) in a valid input URL/URI.
POSITIONsupportedCore SQL functionsSearches for the first occurrence of the first argument in the second argument and, if successful, returns the position (1-based) of the first argument in the…
REPEATsupportedCore SQL functionsBuilds a string by repeating the input for the specified number of times.
REPLACEsupportedCore SQL functionsRemoves all occurrences of a specified substring, and optionally replaces them with another substring.
REVERSEsupportedCore SQL functionsReverses the order of characters in a string, or of bytes in a binary value.
RIGHTsupportedCore SQL functionsReturns a rightmost substring of its input.
RPADsupportedCore SQL functionsRight-pads a string with characters from another string, or right-pads a binary value with bytes from another binary value.
RTRIMsupportedCore SQL functionsRemoves trailing characters, including whitespace, from a string.
RTRIMMED_LENGTHsupportedCore SQL functionsReturns the length of its argument, minus trailing whitespace, but including leading whitespace.
SEARCHsupportedCore SQL functionsSearches character data (text) in specified columns from one or more tables, including fields in VARIANT, OBJECT, and ARRAY columns. A text analyzer breaks the…
SEARCH_IPsupportedCore SQL functionsSearches for valid IPv4 and IPv6 addresses in specified character-string columns from one or more tables, including fields in VARIANT, OBJECT, and ARRAY…
SEARCH_PREVIEWsupportedAI & MLGiven a Cortex Search service name, and a query, returns a response from the specified service.
SENTIMENTdeferredAI & MLReturns an overall sentiment score for the given English-language input text.
SHA1supportedCore SQL functionsReturns a 40-character hex-encoded string containing the 160-bit SHA-1 message digest.
SHA1_BINARYsupportedCore SQL functionsReturns a 20-byte binary containing the 160-bit SHA-1 message digest.
SHA1_HEXsupportedCore SQL functionsReturns a 40-character hex-encoded string containing the 160-bit SHA-1 message digest.
SHA2supportedCore SQL functionsReturns a hex-encoded string containing the N-bit SHA-2 message digest, where N is the specified output digest size.
SHA2_BINARYsupportedCore SQL functionsReturns a binary containing the N-bit SHA-2 message digest, where N is the specified output digest size.
SHA2_HEXsupportedCore SQL functionsReturns a hex-encoded string containing the N-bit SHA-2 message digest, where N is the specified output digest size.
SOUNDEXsupportedCore SQL functionsReturns a string that contains a phonetic representation of the input string.
SOUNDEX_P123supportedCore SQL functionsReturns a string that contains a phonetic representation of the input string, and retains the Soundex code number for the second letter when the first and…
SPACEsupportedCore SQL functionsBuilds a string consisting of the specified number of blank spaces.
SPLITsupportedCore SQL functionsSplits a given string with a given separator and returns the result in an array of strings.
SPLIT_PARTsupportedCore SQL functionsSplits a given string at a specified character and returns the requested part.
SPLIT_TEXT_MARKDOWN_HEADERsupportedAI & MLThe SPLIT_TEXT_MARKDOWN_HEADER function splits a Markdown-formatted document into structured text chunks based on header levels. The function returns an array…
SPLIT_TEXT_RECURSIVE_CHARACTERsupportedAI & MLThe SPLIT_TEXT_RECURSIVE_CHARACTER function splits a string into shorter stings, recursively, for preprocessing text to be used with text embedding or search…
SPLIT_TO_TABLEsupportedCore SQL functionsThis table function splits a string (based on a specified delimiter) and flattens the results into rows.
STARTSWITHsupportedCore SQL functionsReturns true if expr1 starts with expr2. Both expressions must be text or binary expressions.
STRTOKsupportedCore SQL functionsTokenizes a given string and returns the requested part.
STRTOK_SPLIT_TO_TABLEsupportedCore SQL functionsTokenizes a string with the given set of delimiters and flattens the results into rows.
STRTOK_TO_ARRAYsupportedCore SQL functionsTokenizes the given string using the given set of delimiters and returns the tokens as an ARRAY value.
SUBSTRsupportedCore SQL functionsReturns the portion of the string or binary value from base_expr, starting from the character/byte specified by start_expr, with optionally limited length.
SUBSTRINGsupportedCore SQL functionsReturns the portion of the string or binary value from base_expr, starting from the character/byte specified by start_expr, with optionally limited length.
THREAD_MESSAGESdeferredAI & MLReturns the messages in a Cortex Agent thread as JSON.
TRANSLATEsupportedCore SQL functionsReplaces characters in a string. Specifically, given a string, a set of characters to replace, and the characters to substitute for the original characters,…
TRIMsupportedCore SQL functionsRemoves leading and trailing characters from a string.
TRY_BASE64_DECODE_BINARYsupportedCore SQL functionsA special version of BASE64_DECODE_BINARY that returns a NULL value if an error occurs during decoding.
TRY_BASE64_DECODE_STRINGsupportedCore SQL functionsA special version of BASE64_DECODE_STRING that returns a NULL value if an error occurs during decoding.
TRY_COMPLETEdeferredAI & MLNotice
TRY_HEX_DECODE_BINARYsupportedCore SQL functionsA special version of HEX_DECODE_BINARY that returns a NULL value if an error occurs during decoding.
TRY_HEX_DECODE_STRINGsupportedCore SQL functionsA special version of HEX_DECODE_STRING that returns a NULL value if an error occurs during decoding.
UNICODEsupportedCore SQL functionsReturns the Unicode code point for the first Unicode character in a string. If the string is empty, a value of 0 is returned.
UPPERsupportedCore SQL functionsReturns the input string with all characters converted to uppercase.
UUID_STRINGsupportedCore SQL functionsGenerates either a version 4 (random) or version 5 (named) RFC 4122-compliant universally unique identifier (UUID) as a formatted string.

String functions (regular expressions) (8)

FunctionSupportAreaDescription
REGEXPsupportedCore SQL functionsPerforms a comparison to determine whether a string matches or does not match a specified pattern. Both inputs must be text expressions.
REGEXP_COUNTsupportedCore SQL functionsReturns the number of times that a pattern occurs in a string.
REGEXP_INSTRsupportedCore SQL functionsReturns the position of the specified occurrence of the regular expression pattern in the string subject.
REGEXP_LIKEsupportedCore SQL functionsPerforms a comparison to determine whether a string matches a specified pattern. Both inputs must be text expressions.
REGEXP_REPLACEsupportedCore SQL functionsReturns the subject with the specified pattern — or all occurrences of the pattern — either removed or replaced by a replacement string.
REGEXP_SUBSTRsupportedCore SQL functionsReturns the substring that matches a regular expression within a string.
REGEXP_SUBSTR_ALLsupportedCore SQL functionsReturns an ARRAY that contains all substrings that match a regular expression within a string.
RLIKEsupportedCore SQL functionsPerforms a comparison to determine whether a string matches or does not match a specified pattern. Both inputs must be text expressions.

System functions (299)

FunctionSupportAreaDescription
EXECUTE_AI_EVALUATIONnot supportedAI & MLStart, retrieve the status of, cancel, or delete a Cortex Agent evaluation run.
EXPLAIN_GRANTABLE_PRIVILEGESsupportedAccess control (grants, roles)Returns a JSON string representing all grantable privileges for each object type in Snowflake. This function provides comprehensive information about which…
EXPLAIN_JSONsupportedQueries & DMLThis function converts an EXPLAIN plan from JSON to a table. The output is the same as the output of the command EXPLAIN USING TABULAR <statement>.
EXPLAIN_PRIVILEGESsupportedAccess control (grants, roles)Returns a JSON string that explains which privileges are required to execute a SQL statement. This function analyzes the authorization requirements for a given…
EXTRACT_SEMANTIC_CATEGORIESEnterprise+deferredGovernance (policies, tags, data quality)Note
GET_ANACONDA_PACKAGES_REPODATAdeferredUDFs, procedures, tasks, alerts, scriptingReturns a list of third-party packages that are available from Anaconda. For more information, see Packages policies.
GET_PYTHON_PROFILER_OUTPUTdeferredUDFs, procedures, tasks, alerts, scriptingReturns output containing a report generated by the Python code profiler.
GET_QUERY_OPERATOR_STATSsupportedQueries & DMLReturns statistics about individual query operators within a query that has completed. You can run this function for any completed query that was executed in…
SHOW_PYTHON_PACKAGES_DEPENDENCIESdeferredUDFs, procedures, tasks, alerts, scriptingReturns a list of the dependencies and their versions for the Python packages that were specified.
SYSTEM$ABORT_SESSIONsupportedAccounts, users, sessions, warehousesAborts the specified session.
SYSTEM$ABORT_TRANSACTIONsupportedQueries & DMLAborts the specified transaction, if it is running. If the transaction has already been committed or rolled back, then the state of the transaction is not…
SYSTEM$ACTIVATE_CMK_INFOnot supportedIntegrations, network & secretsActivates Tri-Secret Secure in your account, optionally with private connectivity, by using the customer-managed key (CMK) information that you registered for…
SYSTEM$ACTIVATE_CMK_INFO_POSTGRESnot supportedIntegrations, network & secretsActivates Snowflake Postgres Tri-Secret Secure in your account by using the CMK (customer-managed key) information that you registered for your account.
SYSTEM$ACTIVATE_CMK_INFO_SNOWFLAKE_MANAGED_VOLUMEnot supportedIntegrations, network & secretsActivates Tri-Secret Secure for Snowflake storage for Iceberg tables in your account by setting your registered customer-managed key (CMK) as the encryption…
SYSTEM$ADD_EVENTsupportedUDFs, procedures, tasks, alerts, scriptingAdd an event for trace.
SYSTEM$ADD_PRIVATELINK_ENDPOINT_HOSTNAMEBusiness Critical+not supportedIntegrations, network & secretsAdds an additional host name to an existing private connectivity endpoint that connects to a service that supports more than one host name on the same…
SYSTEM$ADD_REFERENCEsupportedNative apps, listings & sharingCalled by a Snowflake Native App to associate a consumer reference string to a reference definition. The app can use this association to access the consumer…
SYSTEM$ALLOWLISTsupportedIntegrations, network & secretsReturns host names and port numbers to add to your firewall’s allowed list so that you can access Snowflake from behind your firewall. The output of this…
SYSTEM$ALLOWLIST_PRIVATELINKnot supportedIntegrations, network & secretsReturns host names and port numbers for AWS PrivateLink, Azure Private Link, and Google Cloud Private Service Connect deployments to add to your firewall’s…
SYSTEM$ALLOW_PROVIDER_TO_SHARE_INTO_VPSnot supportedCore SQL functionsAllows a provider to share listings into the current VPS account. Using a token supplied by a provider of listings, call this function to allow that provider…
SYSTEM$APPLICATION_GET_LOG_LEVELsupportedNative apps, listings & sharingReturns the log level for the specified object. The following objects are supported:
SYSTEM$APPLICATION_GET_METRIC_LEVELsupportedNative apps, listings & sharingReturns the metric level for the specified object. The following objects are supported:
SYSTEM$APPLICATION_GET_TRACE_LEVELsupportedNative apps, listings & sharingReturns the trace level for the specified object. The following objects are supported:
SYSTEM$APP_COMPATIBILITY_CHECKsupportedNative apps, listings & sharingReturns the Snowflake edition of the consumer account where an app is installed.
SYSTEM$AUTHORIZE_PRIVATELINKBusiness Critical+not supportedIntegrations, network & secretsEnables private connectivity to the Snowflake service for the current account.
SYSTEM$AUTHORIZE_SNOWFLAKE_MANAGED_STORAGE_VOLUME_PRIVATELINK_ACCESSnot supportedIntegrations, network & secretsAuthorizes Snowflake to access the private endpoint for Azure private endpoints for Snowflake-managed storage volumes for the current account.
SYSTEM$AUTHORIZE_STAGE_PRIVATELINK_ACCESSnot supportedIntegrations, network & secretsAuthorizes Snowflake to access the private endpoint for Azure private endpoints for internal stages and Google Private Service Connect endpoints for internal…
SYSTEM$AUTO_REFRESH_STATUSsupportedIceberg & external tablesReturns the automated refresh status for an externally managed Iceberg table.
SYSTEM$BEGIN_DEBUG_APPLICATIONpreviewsupportedNative apps, listings & sharingEnables session debug mode for a Snowflake Native App.
SYSTEM$BEHAVIOR_CHANGE_BUNDLE_STATUSsupportedAccounts, users, sessions, warehousesReturns the status of the specified behavior change release bundle for the current account.
SYSTEM$BLOCK_INTERNAL_STAGES_PUBLIC_ACCESSBusiness Critical+not supportedIntegrations, network & secretsPrevents all public traffic from accessing the internal stage of the current Snowflake account on Microsoft Azure.
SYSTEM$BLOCK_INTERNAL_STAGES_PUBLIC_ACCESS_WITH_EXCEPTIONBusiness Critical+not supportedIntegrations, network & secretsPrevents public traffic from accessing the internal stage of the current Snowflake account on Microsoft Azure, while allowing access from specified IP…
SYSTEM$BLOCK_SNOWFLAKE_MANAGED_STORAGE_VOLUME_PUBLIC_ACCESSnot supportedIntegrations, network & secretsPrevents all public traffic from accessing the Snowflake-managed storage volume of the current Snowflake account on Microsoft Azure.
SYSTEM$BLOCK_SNOWFLAKE_MANAGED_STORAGE_VOLUME_PUBLIC_ACCESS_WITH_EXCEPTIONnot supportedIntegrations, network & secretsPrevents public traffic from accessing the Snowflake-managed storage volume of the current Snowflake account on Microsoft Azure, while allowing access from…
SYSTEM$CANCEL_ALL_QUERIESsupportedAccounts, users, sessions, warehousesCancels all active/running queries in the specified session.
SYSTEM$CANCEL_QUERYsupportedQueries & DMLCancels the specified query (or statement) if it is currently active/running.
SYSTEM$CANCEL_TASK_GRAPHnot supportedUDFs, procedures, tasks, alerts, scriptingCancels one or all runs of a task graph, stopping work that is queued or scheduled under the targeted run or runs and marking any task that is already…
SYSTEM$CAST_MULTI_PARTY_APPROVAL_VOTEBusiness Critical+supportedGovernance (policies, tags, data quality)Casts a vote on a pending Multi-party Approval request. An approver calls this function with a decision of APPROVE or REJECT to vote on a request. A requester…
SYSTEM$CATALOG_LINK_STATUSsupportedIceberg & external tablesReturns the link status for a specified catalog-linked database.
SYSTEM$CKE_HASH_FUNCTIONsupportedIntegrations, network & secretsAnalyzes Cortex Knowledge Extensions (CKE) usage by mapping hashedDocumentIds back to your original document primary keys in the Cortex Search Service. This is…
SYSTEM$CLEANUP_DATABASE_ROLE_GRANTSsupportedAccess control (grants, roles)Revokes privileges on dropped objects from the share and grants the database role to the share.
SYSTEM$CLIENT_VERSION_INFOsupportedAccounts, users, sessions, warehousesReturns version information for Snowflake clients and drivers.
SYSTEM$CLIENT_VULNERABILITY_INFOsupportedAccounts, users, sessions, warehousesReturns details about common vulnerabilities and exposures (CVE) fixes and related vulnerabilities for Snowflake clients and drivers.
SYSTEM$CLUSTERING_DEPTHsupportedTables, views, streams, sequencesComputes the average depth of the table according to the specified columns (or the clustering key defined for the table). The average depth of a populated…
SYSTEM$CLUSTERING_INFORMATIONsupportedTables, views, streams, sequencesReturns clustering information, including average clustering depth and Automatic Clustering version, for a table based on one or more columns in the table.
SYSTEM$COMMIT_MOVE_ORGANIZATION_ACCOUNTBusiness Critical+not supportedAccounts, users, sessions, warehousesFinalizes the process of moving an organization account from one region to another.
SYSTEM$CONVERT_PIPES_SQS_TO_SNSnot supportedData loading & unloadingConverts all the auto-ingest pipes in the current account that load data from an S3 bucket through Amazon Simple Queue Service (SQS) notifications so that they…
SYSTEM$CREATE_BILLING_EVENTnot supportedNative apps, listings & sharingCreates a billable event that tracks consumer usage of an installed monetized application. If you need to exceed the one event per minute frequency limitation…
SYSTEM$CREATE_BILLING_EVENTSnot supportedNative apps, listings & sharingCreates multiple billable events that track consumer usage of installed monetized applications. Use this system function when you need to exceed the one event…
SYSTEM$CREATE_EVALUATION_DATASETnot supportedAI & MLCreates a Snowflake dataset for Cortex Agent evaluations from an existing table. The new dataset is registered in the same database and schema as given in the…
SYSTEM$CURRENT_USER_TASK_NAMEsupportedUDFs, procedures, tasks, alerts, scriptingReturns the name of the task currently executing when invoked from the statement or stored procedure defined by the task.
SYSTEM$DATA_METRIC_SCANEnterprise+supportedGovernance (policies, tags, data quality)Returns the rows identified by a data quality metric as containing data that fails a data quality check. For example, if you use the NULL_COUNT data metric…
SYSTEM$DBT_GET_LAST_FAILED_RUN_TARGETsupportedContainer services & dev toolingReturns the location of dbt artifacts from the most recent failed execution of a dbt project object within the previous 14 days. You can import these artifacts…
SYSTEM$DBT_GET_LAST_RUN_TARGETsupportedContainer services & dev toolingReturns the location of dbt artifacts from the most recent completed execution of a dbt project object within the previous 14 days, whether the execution…
SYSTEM$DBT_GET_LAST_SUCCESSFUL_RUN_TARGETsupportedContainer services & dev toolingReturns the location of dbt artifacts from the most recent successful execution of a dbt project object within the previous 14 days. You can import these…
SYSTEM$DEACTIVATE_CMK_INFOnot supportedIntegrations, network & secretsDe-activates Tri-Secret Secure in your account.
SYSTEM$DEACTIVATE_CMK_INFO_SNOWFLAKE_MANAGED_VOLUMEnot supportedIntegrations, network & secretsDeactivates Tri-Secret Secure for Snowflake storage for Iceberg tables in your account by reverting your account’s Snowflake-managed storage volume to…
SYSTEM$DECODE_PATdeferredAccounts, users, sessions, warehousesReturns information about a programmatic access token, given the secret for the token. This information includes the name of the token, the state of the token,…
SYSTEM$DEMIGRATE_DBT_PROJECTsupportedContainer services & dev toolingReverts a migrated dbt project object from the mutable live-version model to the previous versioned object model.
SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINTBusiness Critical+not supportedIntegrations, network & secretsDeprovisions a private connectivity endpoint in the Snowflake VPC or VNet to prevent Snowflake from connecting to an external service by using private…
SYSTEM$DEPROVISION_PRIVATELINK_ENDPOINT_TSSBusiness Critical+not supportedIntegrations, network & secretsDeprovisions a private connectivity endpoint in the Snowflake VPC or VNet to prevent Snowflake from connecting to an external key management service (KMS)…
SYSTEM$DEREGISTER_CMK_INFOnot supportedIntegrations, network & secretsCancels registration of your currently-registered customer-managed key (CMK) for use with Tri-Secret Secure.
SYSTEM$DEREGISTER_CMK_INFO_POSTGRESnot supportedIntegrations, network & secretsCancels registration of your currently-registered customer-managed key (CMK) for use with Snowflake Postgres Tri-Secret Secure.
SYSTEM$DEREGISTER_CMK_INFO_SNOWFLAKE_MANAGED_VOLUMEnot supportedIntegrations, network & secretsCancels registration of your currently-registered customer-managed key (CMK) for use with Tri-Secret Secure for Snowflake storage for Iceberg tables.
SYSTEM$DESC_ICEBERG_ACCESS_IDENTITYsupportedIceberg & external tablesReturns information about the Snowflake service principal for a specified external cloud provider in an account.
SYSTEM$DISABLE_BEHAVIOR_CHANGE_BUNDLEsupportedAccounts, users, sessions, warehousesDisables the behavior changes included in the specified behavior change release bundle for the current account.
SYSTEM$DISABLE_DATABASE_REPLICATIONsupportedReplication, failover & backupDisable replication for a primary database and any secondary databases linked to it.
SYSTEM$DISABLE_FEATURE_GROUPSdeferredAccounts, users, sessions, warehousesDisables all features in a feature group for the current account.
SYSTEM$DISABLE_FEATURE_GROUPS_PREVIEWdeferredAccounts, users, sessions, warehousesDisables only the preview features in a feature group for the current account. Generally available features in the group remain enabled.
SYSTEM$DISABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNTsupportedNative apps, listings & sharingDisables Cross-Cloud Auto-Fulfillment on an account.
SYSTEM$DISABLE_PREVIEW_ACCESSsupportedAccounts, users, sessions, warehousesDisables access to open preview and private preview features.
SYSTEM$DISABLE_PRIVATELINK_ACCESS_ONLYBusiness Critical+previewnot supportedIntegrations, network & secretsUnblocks connections for inbound network traffic that are routed over the public internet.
SYSTEM$ENABLE_BEHAVIOR_CHANGE_BUNDLEsupportedAccounts, users, sessions, warehousesEnables behavior changes included in the specified behavior change release bundle for the current account.
SYSTEM$ENABLE_FEATURE_GROUPSdeferredAccounts, users, sessions, warehousesRe-enables a feature group for the current account that was previously disabled with SYSTEM$DISABLE_FEATURE_GROUPS or SYSTEM$DISABLE_FEATURE_GROUPS_PREVIEW.
SYSTEM$ENABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNTsupportedNative apps, listings & sharingEnables Cross-Cloud Auto-Fulfillment on an account. Cross-Cloud Auto-Fulfillment allows you to automatically provide the share or application package attached…
SYSTEM$ENABLE_PREVIEW_ACCESSsupportedAccounts, users, sessions, warehousesEnables access to open preview features.
SYSTEM$ENCODE_CKE_PRIMARY_KEYsupportedIntegrations, network & secretsTakes one or more primary key columns from a Cortex Knowledge Extensions (CKE) document and converts them into an encoded representation.
SYSTEM$END_DEBUG_APPLICATIONpreviewsupportedNative apps, listings & sharingDisables session debug mode for a Snowflake Native App.
SYSTEM$ENFORCE_PRIVATELINK_ACCESS_ONLYBusiness Critical+not supportedIntegrations, network & secretsEnforces the behavior that successful connections to your Snowflake account use only your private endpoints. Blocks connections for inbound network traffic…
SYSTEM$ESTIMATE_AUTOMATIC_CLUSTERING_COSTSsupportedTables, views, streams, sequencesReturns estimated costs associated with enabling Automatic Clustering for a table. This function is used to do the following:
SYSTEM$ESTIMATE_QUERY_ACCELERATIONsupportedQueries & DMLFor a previously executed query, this function returns a JSON object that specifies if the query is eligible to benefit from the query acceleration service. If…
SYSTEM$ESTIMATE_SEARCH_OPTIMIZATION_COSTSEnterprise+supportedTables, views, streams, sequencesReturns the estimated costs of adding search optimization to a given table and configuring specific columns for search optimization.
SYSTEM$EVALUATE_DATA_QUALITY_EXPECTATIONSEnterprise+supportedGovernance (policies, tags, data quality)Returns the expectations for associations between data metric functions (DMFs) and a table, including whether an expectation is currently violated.
SYSTEM$EVALUATE_DATA_QUALITY_EXPECTATIONS_PERSIST_RESULTEnterprise+supportedGovernance (policies, tags, data quality)Evaluates data quality expectations for associations between data metric functions (DMFs) and a table and persists the results to the…
SYSTEM$EXECUTE_CATALOG_OPERATIONsupportedIceberg & external tablesExecutes a catalog operation against a catalog integration so you can inspect and validate the remote catalog that the integration connects to.
SYSTEM$EXPLAIN_JSON_TO_TEXTsupportedQueries & DMLThis function converts EXPLAIN output from JSON to formatted text.
SYSTEM$EXPLAIN_PLAN_JSONsupportedQueries & DMLGiven the text of a SQL statement, this function generates the EXPLAIN plan in JSON.
SYSTEM$EXPORT_TDS_FROM_SEMANTIC_VIEWpreviewsupportedAI & MLReturns a semantic view in Tableau Data Source (TDS) format.
SYSTEM$EXTERNAL_TABLE_PIPE_STATUSsupportedIceberg & external tablesRetrieves a JSON representation of the current refresh status for the internal (hidden) pipe object associated with an external table.
SYSTEM$FETCH_EXTERNAL_SECRET_FROM_INTEGRATIONpreviewnot supportedIntegrations, network & secretsFetches one secret value through an external secret provider security integration.
SYSTEM$FINISH_OAUTH_FLOWnot supportedIntegrations, network & secretsSets the OAUTH_REFRESH_TOKEN parameter value of the secret passed as an argument in the SYSTEM$START_OAUTH_FLOW call that began the OAuth flow.
SYSTEM$GDS_CREATE_DATABASE_FROM_LISTINGnot supportedNative apps, listings & sharingMounts a database from a listing that is accessible from the current VPS account. Use the CALL to call this system stored procedure.
SYSTEM$GDS_GET_AVAILABLE_LISTINGSnot supportedNative apps, listings & sharingReturns the listings that are accessible from the current VPS account. Use the CALL to call this system stored procedure.
SYSTEM$GDS_REQUEST_LISTINGnot supportedNative apps, listings & sharingRequests data from a listing that you have access to. Use the CALL to call this stored procedure.
SYSTEM$GENERATE_CROSS_REGION_GROUP_SHARING_TOKENnot supportedCore SQL functionsGenerates a token to allow sharing with another VPS account, for example to allow a provider to share a listing with the current VPS account.
SYSTEM$GENERATE_SAML_CSRnot supportedIntegrations, network & secretsGenerates a certificate signing request (CSR) with the subject set to the subject of the certificate stored in the SAML2 integration and can specify the DN to…
SYSTEM$GENERATE_SCIM_ACCESS_TOKENsupportedIntegrations, network & secretsReturns a new SCIM access token that is valid for six months.
SYSTEM$GET_ALERT_CONFIGsupportedUDFs, procedures, tasks, alerts, scriptingReturns information from an alert configuration.
SYSTEM$GET_ALERT_TEMPLATEnot supportedUDFs, procedures, tasks, alerts, scriptingReturns the definition of a single alert template, including the variables you can set, their data types, defaults, allowed values, and a ready-to-adapt…
SYSTEM$GET_ALL_DEFAULT_COLUMNS_OVERRIDESsupportedAccounts, users, sessions, warehousesReturns the list of columns that were set by previous calls to SYSTEM$SET_DEFAULT_COLUMNS_OVERRIDE_FOR_SHOW_COMMAND and…
SYSTEM$GET_ALL_REFERENCESsupportedNative apps, listings & sharingIterates through all associations for a reference and returns information about the associations.
SYSTEM$GET_APPLICATION_SERVICE_LOGSpartialNative apps, listings & sharingReturns the container logs for a running Application Service. Use this function to troubleshoot a deployed application.
SYSTEM$GET_AWS_SNS_IAM_POLICYsupportedIntegrations, network & secretsReturns an AWS IAM policy statement that must be added to the Amazon SNS topic policy in order to grant the Amazon SQS messaging queue created by Snowflake to…
SYSTEM$GET_CATALOG_LINKED_DATABASE_CONFIGsupportedIceberg & external tablesReturns the configuration parameters set on the specified catalog-linked database. The output is in JSON format.
SYSTEM$GET_CLASSIFICATION_RESULTEnterprise+deferredGovernance (policies, tags, data quality)Returns the classification result of the specified object.
SYSTEM$GET_CMK_AKV_CONSENT_URLnot supportedIntegrations, network & secretsReturns a consent URL to the Azure Key Vault account related to customer-managed keys.
SYSTEM$GET_CMK_CONFIGnot supportedIntegrations, network & secretsReturns configuration information for use with customer-managed keys (CMKs) and Tri-Secret Secure.
SYSTEM$GET_CMK_CONFIG_POSTGRESnot supportedIntegrations, network & secretsReturns configuration information for use with customer-managed keys (CMKs) and Snowflake Postgres Tri-Secret Secure.
SYSTEM$GET_CMK_CONFIG_SNOWFLAKE_MANAGED_VOLUMEnot supportedIntegrations, network & secretsReturns the cloud-provider configuration you need to authorize Snowflake to use your customer-managed key (CMK) with Tri-Secret Secure for Snowflake storage…
SYSTEM$GET_CMK_INFOnot supportedIntegrations, network & secretsReturns the status of your customer-managed key (CMK) for use with Tri-Secret Secure.
SYSTEM$GET_CMK_INFO_POSTGRESnot supportedIntegrations, network & secretsReturns the status of your customer-managed key (CMK) for use with Snowflake Postgres Tri-Secret Secure. Information is returned only for currently registered…
SYSTEM$GET_CMK_INFO_SNOWFLAKE_MANAGED_VOLUMEnot supportedIntegrations, network & secretsReturns the registration and activation status of your customer-managed key (CMK) for use with Tri-Secret Secure for Snowflake storage for Iceberg tables.
SYSTEM$GET_CMK_KMS_KEY_POLICYnot supportedIntegrations, network & secretsReturns an ARRAY containing a snippet of the AWS Key Management Service policy information related to customer-managed keys.
SYSTEM$GET_COLUMN_COMMENT_PROPAGATION_SOURCEpreviewnot supportedCore SQL functionsReturns the column that a propagated comment was originally written on. Given a column whose comment arrived through column comment propagation, the function…
SYSTEM$GET_COMPUTE_POOL_PENDING_MAINTENANCEsupportedContainer services & dev toolingRetrieves information about pending Snowflake maintenance actions for compute pools in the current account.
SYSTEM$GET_DBT_LOGsupportedContainer services & dev toolingReturns logs for the specified run for a dbt Projects on Snowflake.
SYSTEM$GET_DEBUG_STATUSpreviewsupportedNative apps, listings & sharingReturns the session debug mode status of the current session.
SYSTEM$GET_DEFAULT_COLUMNS_OVERRIDE_FOR_SHOW_COMMANDsupportedAccounts, users, sessions, warehousesReturns the list of columns that were set by a previous call to SYSTEM$SET_DEFAULT_COLUMNS_OVERRIDE_FOR_SHOW_COMMAND.
SYSTEM$GET_DEFAULT_COLUMNS_OVERRIDE_FOR_SYSTEM_OBJECTsupportedAccounts, users, sessions, warehousesReturns the list of columns that were set by a previous call to SYSTEM$SET_DEFAULT_COLUMNS_OVERRIDE_FOR_SYSTEM_OBJECT for the specified Snowflake view (for…
SYSTEM$GET_DIRECTORY_TABLE_STATUSsupportedData loading & unloadingReturns a list of records that contain the directory table consistency status for stages in your account. Consistency status indicates whether a directory…
SYSTEM$GET_GCP_KMS_CMK_GRANT_ACCESS_CMDnot supportedIntegrations, network & secretsReturns a Google Cloud gcloud command to obtain policy information for the Google Cloud Key Management Service for use with customer-managed keys.
SYSTEM$GET_HASH_FOR_APPLICATIONsupportedNative apps, listings & sharingReturns the hash value for a Snowflake Native App or query ID.
SYSTEM$GET_ICEBERG_TABLE_INFORMATIONsupportedIceberg & external tablesReturns the location of the root metadata file and status of the latest snapshot for an Apache Iceberg™ table.
SYSTEM$GET_INSTANCE_FAMILY_PLACEMENT_GROUPSsupportedContainer services & dev toolingReturns the list of placement groups supported for the specified instance family for Snowpark Container Services compute pool nodes.
SYSTEM$GET_LISTING_URL_FOR_EXTERNAL_CONSUMERnot supportedNative apps, listings & sharingReturns the connection details that an external consumer uses to connect to an external listing: the catalog name, catalog URI, OAuth scope, and OAuth token…
SYSTEM$GET_LOGIN_FAILURE_DETAILSdeferredAccounts, users, sessions, warehousesReturns a JSON object that represents an unsuccessful login attempt associated with External OAuth, SAML, or key pair authentication. The JSON object contains…
SYSTEM$GET_PREDECESSOR_RETURN_VALUEsupportedUDFs, procedures, tasks, alerts, scriptingRetrieves the return value for the predecessor task in a task graph. The return value is explicitly set by the predecessor task by calling the…
SYSTEM$GET_PREVIEW_ACCESS_STATUSsupportedAccounts, users, sessions, warehousesDetermine if access to all preview features is enabled or disabled.
SYSTEM$GET_PRIVATELINKnot supportedIntegrations, network & secretsVerifies whether your current account is authorized for private connectivity to the Snowflake service.
SYSTEM$GET_PRIVATELINK_AUTHORIZED_ENDPOINTSBusiness Critical+not supportedIntegrations, network & secretsReturns a list of the authorized endpoints for your current account to use with private connectivity to the Snowflake service.
SYSTEM$GET_PRIVATELINK_CONFIGnot supportedIntegrations, network & secretsReturns a JSON representation of the Snowflake account information necessary to facilitate the self-service configuration of private connectivity to the…
SYSTEM$GET_PRIVATELINK_ENDPOINTS_INFOBusiness Critical+not supportedIntegrations, network & secretsReturns the status of all private connectivity endpoints that you provision. The endpoint can be a service endpoint or a resource endpoint depending on the…
SYSTEM$GET_PRIVATELINK_ENDPOINT_REGISTRATIONSBusiness Critical+not supportedIntegrations, network & secretsReturns the registered private endpoints that can route your connection to the Snowflake service.
SYSTEM$GET_PURCHASE_ATTRIBUTESpreviewnot supportedNative apps, listings & sharingIdentifies the behavior of a listing at runtime.
SYSTEM$GET_REFERENCED_OBJECT_ID_HASHpartialNative apps, listings & sharingReturns the hash of the entity ID of the consumer object currently resolved by the reference.
SYSTEM$GET_REMOTE_STANDARD_LISTING_STATUSnot supportedNative apps, listings & sharingReturns the status of a listing that you (the provider) have shared with a VPS consumer.
SYSTEM$GET_RESULTSET_STATUSdeferredQueries & DMLReturns the status of a RESULTSET in a Snowflake Scripting stored procedure.
SYSTEM$GET_SECURITY_INTEGRATIONS_FOR_API_PROVIDERpreviewnot supportedIntegrations, network & secretsFor a specified API provider, lists the external secret provider security integrations visible to the current role.
SYSTEM$GET_SERVICE_CALLER_TOKEN_EXPIRYsupportedContainer services & dev toolingReturns the expiration timestamp of a caller’s rights login token for a Snowpark Container Services service.
SYSTEM$GET_SERVICE_DNS_DOMAINsupportedContainer services & dev toolingGiven a schema name, returns that schema’s DNS namespace hash as a string.
SYSTEM$GET_SERVICE_LOGSsupportedContainer services & dev toolingRetrieves local logs from a Snowpark Container Services service container.
SYSTEM$GET_SNOWFLAKE_EGRESS_IP_RANGESnot supportedIntegrations, network & secretsUsing egress IP addresses you generate with Snowflake, you can allow ingress access from the following Snowflake features:
SYSTEM$GET_SNOWFLAKE_PLATFORM_INFOsupportedAccounts, users, sessions, warehousesReturns platform information for the cloud provider that hosts your Snowflake account. The function returns different values, depending on your cloud provider:
SYSTEM$GET_STAGE_PRIVATELINK_AUTHORIZED_ENDPOINTSBusiness Critical+not supportedIntegrations, network & secretsReturns the list of private connectivity sources that have been authorized to access the internal stage of the current account through previous calls to…
SYSTEM$GET_TABLE_ARCHIVE_METADATAnot supportedTables, views, streams, sequencesReturns metadata about the archived data for a table, without requiring data retrieval from the archive tier.
SYSTEM$GET_TAGsupportedGovernance (policies, tags, data quality)Returns the tag value associated with the specified Snowflake object or column. Returns NULL if a tag is not set on the specified Snowflake object or column.
SYSTEM$GET_TAG_ALLOWED_VALUESsupportedGovernance (policies, tags, data quality)Returns a comma-separated list of string values that can be set on a supported object, or NULL to indicate the tag key does not have any specified string…
SYSTEM$GET_TAG_ON_CURRENT_COLUMNsupportedGovernance (policies, tags, data quality)Returns the tag string value assigned to the column based upon the specified tag or NULL if a tag is not assigned to the specified column.
SYSTEM$GET_TAG_ON_CURRENT_TABLEsupportedGovernance (policies, tags, data quality)Returns the tag string value assigned to the table based upon the specified tag or NULL if a tag is not assigned to the specified table.
SYSTEM$GET_TASK_GRAPH_CONFIGsupportedUDFs, procedures, tasks, alerts, scriptingReturns information from a task graph configuration.
SYSTEM$GET_TZDB_VERSIONsupportedCore SQL functionsReturns the release of the IANA Time Zone Database that Snowflake uses for the current session.
SYSTEM$GET_ZEROCOPY_CONNECTOR_CONFIGnot supportedCore SQL functionsReturns the connection details of a Zero-Copy connector that you provide to the partner when you set up the connection. The output is in JSON format.
SYSTEM$GET_ZEROCOPY_CONNECTOR_LINKED_DATABASE_CONFIGnot supportedCore SQL functionsReturns the Zero-Copy connector configuration of a catalog-linked database that was created from a Zero-Copy connector with CREATE DATABASE ……
SYSTEM$GET_ZEROCOPY_METADATA_AUTO_REFRESH_INTERVALnot supportedCore SQL functionsReturns the metadata auto-refresh interval of a Zero-Copy connector.
SYSTEM$GLOBAL_ACCOUNT_SET_PARAMETERsupportedAccounts, users, sessions, warehousesEnables replication and failover features for a specified account in an organization.
SYSTEM$HOLD_PRIVILEGE_ON_ACCOUNTnot supportedAccess control (grants, roles)Indicates if a privilege has been granted to a Snowflake Native App. For example, providers can use this function in the setup script to check if the app has…
SYSTEM$INGEST_REBIND_PIPEnot supportedData loading & unloadingRebinds an auto-ingest pipe to the notification channel for its stage’s current storage location or, on a Google Cloud Storage or Microsoft Azure stage, to a…
SYSTEM$INITIATE_MOVE_ORGANIZATION_ACCOUNTBusiness Critical+not supportedAccounts, users, sessions, warehousesStarts the process of moving an organization account to a new region.
SYSTEM$INTERNAL_STAGES_PUBLIC_ACCESS_STATUSBusiness Critical+not supportedIntegrations, network & secretsChecks to see whether public IP addresses are allowed to access the internal stage of the current Snowflake account on Microsoft Azure.
SYSTEM$ISSUE_PER_ACCOUNT_APP_SERVICE_CERTIFICATEnot supportedIntegrations, network & secretsFormerly caused Snowflake to maintain the public TLS certificate used for terminating TLS connections to Snowflake-hosted app services (Streamlit in Snowflake,…
SYSTEM$ISSUE_PER_ACCOUNT_CERTIFICATESnot supportedIntegrations, network & secretsCauses Snowflake to maintain public TLS certificates on behalf of the account. These certificates are used for terminating TLS connections when you access…
SYSTEM$ISSUE_WORKLOAD_IDENTITY_FEDERATION_TOKENnot supportedIntegrations, network & secretsReturns an ID token that a Snowflake workload can send to an external service for authentication purposes.
SYSTEM$IS_APPLICATION_ALL_MANDATORY_TELEMETRY_EVENT_DEFINITIONS_ENABLEDsupportedNative apps, listings & sharingIndicates that the AUTHORIZE_TELEMETRY_EVENT_SHARING property has been set on the app.
SYSTEM$IS_APPLICATION_AUTHORIZED_FOR_TELEMETRY_EVENT_SHARINGsupportedNative apps, listings & sharingIndicates that the AUTHORIZE_TELEMETRY_EVENT_SHARING has been set on the app.
SYSTEM$IS_APPLICATION_INSTALLED_FROM_SAME_ACCOUNTsupportedNative apps, listings & sharingShows if an app is installed on the same account as the application package it is based on.
SYSTEM$IS_APPLICATION_SHARING_EVENTS_WITH_PROVIDERsupportedNative apps, listings & sharingShows if event sharing is enabled.
SYSTEM$IS_GLOBAL_DATA_SHARING_ENABLED_FOR_ACCOUNTsupportedNative apps, listings & sharingSpecifies whether Cross-Cloud Auto-Fulfillment is enabled or disabled on an account.
SYSTEM$IS_LISTING_PURCHASEDsupportedNative apps, listings & sharingReturns TRUE if the consumer account querying data has purchased the listing, otherwise returns FALSE. If an account is trialing the listing, the function…
SYSTEM$IS_LISTING_TRIALpreviewnot supportedNative apps, listings & sharingLimits 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…
SYSTEM$LAST_CHANGE_COMMIT_TIMEdeferredQueries & DMLReturns a token that can be used to detect whether a database table or view changed between two calls to the function. If the token returned by a call is…
SYSTEM$LINK_ACCOUNT_OBJECTS_BY_NAMEBusiness Critical+supportedReplication, failover & backupAdds a global identifier to account objects in the target (current) account that were created using scripts and that match objects with the same names in the…
SYSTEM$LINK_ORGANIZATION_USERsupportedAccounts, users, sessions, warehousesLinks an organization user with a user that already exists in the regular account.
SYSTEM$LINK_ORGANIZATION_USER_GROUPsupportedAccounts, users, sessions, warehousesLinks an organization user group with an access control role that already exists in the regular account.
SYSTEM$LIST_ALERT_TEMPLATESnot supportedUDFs, procedures, tasks, alerts, scriptingLists the alert templates that are available in your account, grouped by product.
SYSTEM$LIST_APPLICATION_RESTRICTED_FEATURESsupportedNative apps, listings & sharingReturns a JSON object containing a list of restricted features that the consumer has allowed a Snowflake Native App to use.
SYSTEM$LIST_EXTERNAL_SECRETSpreviewnot supportedIntegrations, network & secretsLists the secrets visible to an external secret provider security integration.
SYSTEM$LIST_ICEBERG_TABLES_FROM_CATALOGsupportedIceberg & external tablesLists tables in a remote Apache Iceberg™ REST catalog (including Snowflake Open Catalog).
SYSTEM$LIST_NAMESPACES_FROM_CATALOGsupportedIceberg & external tablesLists the namespaces in a remote Apache Iceberg™ REST catalog (including Snowflake Open Catalog).
SYSTEM$LOCATE_DBT_ARCHIVEsupportedContainer services & dev toolingReturns the URL from which you can retrieve zipped dbt run artifacts for a specified dbt project object.
SYSTEM$LOCATE_DBT_ARTIFACTSsupportedContainer services & dev toolingReturns the location of artifacts from a specified dbt project object run (for example, manifest.json).
SYSTEM$LOGsupportedUDFs, procedures, tasks, alerts, scriptingLogs a message at the specified severity level.
SYSTEM$LOG_DEBUGsupportedUDFs, procedures, tasks, alerts, scriptingLogs a message at the specified severity level.
SYSTEM$LOG_ERRORsupportedUDFs, procedures, tasks, alerts, scriptingLogs a message at the specified severity level.
SYSTEM$LOG_FATALsupportedUDFs, procedures, tasks, alerts, scriptingLogs a message at the specified severity level.
SYSTEM$LOG_INFOsupportedUDFs, procedures, tasks, alerts, scriptingLogs a message at the specified severity level.
SYSTEM$LOG_TRACEsupportedUDFs, procedures, tasks, alerts, scriptingLogs a message at the specified severity level.
SYSTEM$LOG_WARNsupportedUDFs, procedures, tasks, alerts, scriptingLogs a message at the specified severity level.
SYSTEM$MIGRATE_DBT_PROJECTsupportedContainer services & dev toolingMigrates a dbt project object to the mutable live-version model.
SYSTEM$MIGRATE_LEGACY_EVENT_ROUTING_CONFIGURATIONsupportedAccounts, users, sessions, warehousesMigrates the legacy event account configuration by creating a new event routing table with corresponding rules. The function doesn’t activate the new table.
SYSTEM$MIGRATE_SAML_IDP_REGISTRATIONnot supportedIntegrations, network & secretsMigrates an existing SAML identity provider (i.e. IdP) configuration as defined by the account parameter SAML_IDENTITY_PROVIDER to a security integration.
SYSTEM$OPT_IN_INTERNAL_STAGE_NETWORK_LOGSnot supportedIntegrations, network & secretsStarts record collection of network access attempts to internal stage locations for this account. You can view these records in the…
SYSTEM$OPT_OUT_INTERNAL_STAGE_NETWORK_LOGSnot supportedIntegrations, network & secretsStops record collection of network access attempts to internal stage locations for this account. You can view these records in the…
SYSTEM$OPT_OUT_MALICIOUS_IP_PROTECTION_BY_CATEGORYnot supportedIntegrations, network & secretsDisables Malicious IP Protection for one or more curated IP categories in the current account. Use this function to allow traffic that would otherwise be…
SYSTEM$PARQUET_DIRECT_AUTO_REFRESH_STATUSpreviewnot supportedIceberg & external tablesReturns the current auto-refresh status for a Parquet Direct Iceberg table. Use this function to check whether event-driven auto-refresh is running as expected…
SYSTEM$PIPE_FORCE_RESUMEsupportedData loading & unloadingForces a pipe paused using ALTER PIPE to resume. This is necessary in either of the following scenarios:
SYSTEM$PIPE_REBINDING_WITH_NOTIFICATION_CHANNELnot supportedData loading & unloadingRetries the notification channel binding process when a replicated pipe has not been successfully bound to a notification channel during replication time.…
SYSTEM$PIPE_STATUSsupportedData loading & unloadingRetrieves a JSON representation of the current status of a pipe.
SYSTEM$PREDECESSORS_STATEpreviewsupportedUDFs, procedures, tasks, alerts, scriptingIndicates whether the predecessors of the current task completed in the states described by a specified condition. Use this function in the WHEN clause of a…
SYSTEM$PROVISION_PRIVATELINK_ENDPOINTBusiness Critical+not supportedIntegrations, network & secretsProvisions a private connectivity endpoint in the Snowflake VPC or VNet to enable Snowflake to connect to an external service by using private connectivity.…
SYSTEM$PROVISION_PRIVATELINK_ENDPOINT_TSSBusiness Critical+not supportedIntegrations, network & secretsProvisions a private connectivity endpoint in the Snowflake VPC or VNet to enable Snowflake to connect to a key management service (KMS) by using private…
SYSTEM$QUERY_REFERENCEnot supportedNative apps, listings & sharingReturns a query reference that you can pass to a stored procedure. Within the stored procedure, when you execute the query, the query is performed using the…
SYSTEM$READ_ICEBERG_TABLE_PROPERTYsupportedIceberg & external tablesReturns Iceberg table properties from the metadata file of a Snowflake-managed or externally managed Apache Iceberg™ table.
SYSTEM$READ_OSI_YAML_FROM_SEMANTIC_VIEWpreviewnot supportedAI & MLDeprecated
SYSTEM$READ_OSSIE_YAML_FROM_SEMANTIC_VIEWpreviewnot supportedAI & MLReads an existing semantic view and returns its definition as an Apache Ossie (incubating) YAML document.
SYSTEM$READ_YAML_FROM_SEMANTIC_VIEWsupportedAI & MLReturns the specification of a semantic model (in YAML format) for a semantic view.
SYSTEM$REFERENCEsupportedNative apps, listings & sharingReturns a reference to an object (a table, view, or function). When you execute SQL actions on a reference to an object, the actions are performed using the…
SYSTEM$REGISTER_CMK_INFOnot supportedIntegrations, network & secretsRegisters your customer-managed key (CMK) for use with Tri-Secret Secure.
SYSTEM$REGISTER_CMK_INFO_POSTGRESnot supportedIntegrations, network & secretsRegisters your customer-managed key (CMK) for use with Snowflake Postgres Tri-Secret Secure.
SYSTEM$REGISTER_CMK_INFO_SNOWFLAKE_MANAGED_VOLUMEnot supportedIntegrations, network & secretsRegisters your customer-managed key (CMK) for use with Tri-Secret Secure for Snowflake storage for Iceberg tables.
SYSTEM$REGISTER_PRIVATELINK_ENDPOINTBusiness Critical+not supportedIntegrations, network & secretsRegisters a private connectivity endpoint to route your connection to the Snowflake service.
SYSTEM$REMOTE_APP_OPERATIONnot supportedNative apps, listings & sharingPerforms a remote app operation on a Snowflake Native App. This function is available only to providers.
SYSTEM$REMOVE_ALL_REFERENCESsupportedNative apps, listings & sharingDeletes all associations to the reference.
SYSTEM$REMOVE_PRIVATELINK_ENDPOINT_HOSTNAMEBusiness Critical+not supportedIntegrations, network & secretsRemoves an additional host name from an existing private connectivity endpoint. Use this function to remove a host name that you previously added with…
SYSTEM$REMOVE_REFERENCEsupportedNative apps, listings & sharingRemoves an association from the reference to an object in the consumer account.
SYSTEM$REPORT_HEALTH_STATUSsupportedContainer services & dev toolingSends application health information from a consumer app to the provider account.
SYSTEM$RESOLVE_PYTHON_PACKAGESdeferredUDFs, procedures, tasks, alerts, scriptingReturns a list of the resolved dependencies and their versions for the Python packages that were specified. This function works with packages from both…
SYSTEM$RESTORE_PRIVATELINK_ENDPOINTBusiness Critical+not supportedIntegrations, network & secretsRestores a private connectivity endpoint in the Snowflake VPC or VNet to enable Snowflake to connect to an external service using private connectivity. The…
SYSTEM$RESTORE_PRIVATELINK_ENDPOINT_TSSBusiness Critical+not supportedIntegrations, network & secretsRestores a private connectivity endpoint in the Snowflake VPC or VNet to enable Snowflake to connect to an external key management service (KMS) resource by…
SYSTEM$REVOKE_PRIVATELINKnot supportedIntegrations, network & secretsDisables private connectivity to the Snowflake service for the current account.
SYSTEM$REVOKE_SNOWFLAKE_MANAGED_STORAGE_VOLUME_PRIVATELINK_ACCESSnot supportedIntegrations, network & secretsRevokes the authorization for Snowflake to access the private endpoint for Azure private endpoints for Snowflake-managed storage volumes for the current…
SYSTEM$REVOKE_STAGE_PRIVATELINK_ACCESSnot supportedIntegrations, network & secretsRevokes the authorization for Snowflake to access the private endpoint for Azure private endpoints for internal stages and Google Private Service Connect…
SYSTEM$SAP_PUBLISH_DATA_PRODUCTnot supportedCore SQL functionsPublishes the Iceberg tables in a Snowflake share to SAP® BDC as a data product.
SYSTEM$SCHEDULE_ASYNC_REPLICATION_GROUP_REFRESHsupportedReplication, failover & backupStarts a refresh operation for a replication group or a failover group, in the background. You can call this function in a stored procedure to begin one or…
SYSTEM$SEND_NOTIFICATIONS_TO_CATALOGdeferredIceberg & external tablesSends a notification to Snowflake Open Catalog to update Snowflake-managed Apache Iceberg™ tables in Open Catalog with the latest table changes, and returns…
SYSTEM$SET_APPLICATION_RESTRICTED_FEATURE_ACCESSsupportedNative apps, listings & sharingEnables a restricted feature for a Snowflake Native App. Currently, only external and Apache Iceberg™ tables are supported.
SYSTEM$SET_CATALOG_INTEGRATIONsupportedIceberg & external tablesReplaces the catalog integration associated with an externally managed Apache Iceberg™ table.
SYSTEM$SET_DEFAULT_COLUMNS_OVERRIDE_FOR_SHOW_COMMANDsupportedAccounts, users, sessions, warehousesControls the columns that should be returned when the specified SHOW <objects> command is executed.
SYSTEM$SET_DEFAULT_COLUMNS_OVERRIDE_FOR_SYSTEM_OBJECTsupportedAccounts, users, sessions, warehousesControls the columns that should be returned when you select all columns (SELECT *) from the specified Snowflake view (for example, from a specific…
SYSTEM$SET_EVENT_SHARING_ACCOUNT_FOR_REGIONnot supportedNative apps, listings & sharingSets the event account for a region.
SYSTEM$SET_PRIVATELINK_ENDPOINT_HOSTNAMEBusiness Critical+not supportedIntegrations, network & secretsModifies only the host name of an existing private connectivity endpoint.
SYSTEM$SET_REFERENCEsupportedNative apps, listings & sharingCalled by a Snowflake Native App to associate a consumer reference string to a reference definition. The app can use this association to access the consumer…
SYSTEM$SET_RETURN_VALUEsupportedUDFs, procedures, tasks, alerts, scriptingExplicitly sets the return value for a task.
SYSTEM$SET_ROW_TIMESTAMP_ON_ALL_SUPPORTED_TABLESsupportedTables, views, streams, sequencesUse this system function to bulk enable row timestamps on existing tables.
SYSTEM$SET_SPAN_ATTRIBUTESsupportedUDFs, procedures, tasks, alerts, scriptingSets attribute name and value associated with a span containing trace events.
SYSTEM$SET_ZEROCOPY_METADATA_AUTO_REFRESH_INTERVALnot supportedCore SQL functionsSets the metadata auto-refresh interval of a Zero-Copy connector.
SYSTEM$SHOW_ACTIVE_BEHAVIOR_CHANGE_BUNDLESnot supportedAccounts, users, sessions, warehousesReturns an array of the currently available behavior change release bundles, the default state of each bundle, and the actual state of the bundle for the…
SYSTEM$SHOW_ALLOWED_PROVIDER_ORGANIZATIONSnot supportedCore SQL functionsLists the providers that are allowed to share private listings with the current VPS account.
SYSTEM$SHOW_ARTIFACT_GRANTSnot supportedCore SQL functionsReturns a JSON document listing grants recorded on a Snowflake Artifact. Artifact grants aren’t shown by the general SHOW GRANTS command. There is no SHOW…
SYSTEM$SHOW_BUDGETS_FOR_RESOURCEsupportedAccounts, users, sessions, warehousesReturns a string containing a list of the budgets that track a specified resource (for example, a table or a schema).
SYSTEM$SHOW_BUDGETS_IN_ACCOUNTsupportedAccounts, users, sessions, warehousesReturns the budgets in the account for which you have access privileges.
SYSTEM$SHOW_BUDGET_SHARED_RESOURCE_CANDIDATESsupportedAccounts, users, sessions, warehousesReturns the list of resources that can be added as shared resources to a budget.
SYSTEM$SHOW_DYNAMIC_TABLES_CREATED_FOR_RESHARINGnot supportedNative apps, listings & sharingWhen a consumer of a listing reshares the listing’s data into another region, Snowflake creates hidden dynamic tables to enable listing auto-fulfillment in the…
SYSTEM$SHOW_EVENT_SHARING_ACCOUNTSnot supportedNative apps, listings & sharingShows event accounts in a provider organization.
SYSTEM$SHOW_MOVE_ORGANIZATION_ACCOUNT_STATUSBusiness Critical+not supportedAccounts, users, sessions, warehousesReturns the status of an attempt to move an organization account.
SYSTEM$SHOW_OAUTH_CLIENT_SECRETSnot supportedIntegrations, network & secretsReturns the client secrets in a string. The client ID and a client secret must be included in the authorization header to the OAuth token endpoint.
SYSTEM$SHOW_ORGANIZATIONnot supportedCore SQL functionsReturns details about your organization, including its name, allowed domain names, and default tenant type.
SYSTEM$SHOW_SENSITIVE_DATA_MONITORED_ENTITIESEnterprise+supportedGovernance (policies, tags, data quality)Returns a JSON array of databases or schemas that are associated with a classification profile, which indicates that objects in these entities are monitored by…
SYSTEM$SNOWFLAKE_MANAGED_STORAGE_VOLUME_PUBLIC_ACCESS_STATUSnot supportedIntegrations, network & secretsChecks to see whether public IP addresses are allowed to access the Snowflake-managed storage volume of the current Snowflake account on Microsoft Azure.
SYSTEM$SNOWPIPE_STREAMING_UPDATE_CHANNEL_OFFSET_TOKENsupportedData loading & unloadingUpdates the offset token for a particular channel used by Snowpipe Streaming with a new offset token.
SYSTEM$START_OAUTH_FLOWnot supportedIntegrations, network & secretsInitiates the OAUTH client flow, returning a URL you use in a browser to complete the OAuth consent process.
SYSTEM$START_USER_EMAIL_VERIFICATIONsupportedAccounts, users, sessions, warehousesStarts the email verification process for a user. The system sends a verification email to the user’s email address.
SYSTEM$STREAM_BACKLOGsupportedTables, views, streams, sequencesReturns the set of table versions between the current offset for a specified stream and the current timestamp. This function accepts any stream type as input…
SYSTEM$STREAM_GET_TABLE_TIMESTAMPdeferredTables, views, streams, sequencesReturns the timestamp in nanoseconds of the latest table version at or before the current offset for the specified stream. When the stream is queried (or…
SYSTEM$STREAM_HAS_DATAsupportedTables, views, streams, sequencesIndicates whether a specified stream contains change data capture (CDC) records.
SYSTEM$SUPPORTED_DBT_VERSIONSsupportedContainer services & dev toolingReturns a JSON array containing the versions that Snowflake supports for dbt Projects on Snowflake.
SYSTEM$SYNC_ZEROCOPY_OBJECTSnot supportedCore SQL functionsStarts one discovery cycle for a catalog-linked database that was created from a Zero-Copy connector, without waiting for the next scheduled cycle. A discovery…
SYSTEM$TAG_VALUE_CONTAINSsupportedGovernance (policies, tags, data quality)Returns TRUE if the specified tag on the specified object or column contains the specified string value. Returns FALSE if the value is not present or the tag…
SYSTEM$TAG_VALUE_CONTAINS_ON_CURRENT_COLUMNsupportedCore SQL functionsReturns TRUE if the specified tag on the column that a policy protects contains the specified string value. Returns FALSE if that value is not assigned, or if…
SYSTEM$TAG_VALUE_CONTAINS_ON_CURRENT_TABLEsupportedCore SQL functionsReturns TRUE if the specified tag on the table that a policy protects contains the specified string value. Returns FALSE if that value is not assigned, or if…
SYSTEM$TASK_COMPLETION_STATEpreviewsupportedUDFs, procedures, tasks, alerts, scriptingReturns the state that a specified task in the current task graph run completed in. Use this function in the WHEN clause of a task to branch on the outcome of…
SYSTEM$TASK_DEPENDENTS_ENABLEsupportedUDFs, procedures, tasks, alerts, scriptingRecursively resumes a specified task and all its dependent tasks. This function allows the owner of a task graph (like the role with the OWNERSHIP privilege on…
SYSTEM$TASK_RUNTIME_INFOsupportedUDFs, procedures, tasks, alerts, scriptingReturns information about the current task run. If this function is called outside of a task run, it fails with an error.
SYSTEM$TRIGGER_LISTING_REFRESHsupportedNative apps, listings & sharingTriggers a one-time, on-demand data refresh for a provider’s databases or listings, accessible to all consumers. The refresh job begins immediately upon…
SYSTEM$TYPEOFsupportedCore SQL functionsReturns a string representing the SQL data type associated with an expression.
SYSTEM$UNBLOCK_INTERNAL_STAGES_PUBLIC_ACCESSBusiness Critical+not supportedIntegrations, network & secretsAllows traffic from public IP addresses to access the internal stage of the current Snowflake account on Microsoft Azure.
SYSTEM$UNBLOCK_SNOWFLAKE_MANAGED_STORAGE_VOLUME_PUBLIC_ACCESSnot supportedIntegrations, network & secretsAllows traffic from public IP addresses to access the Snowflake-managed storage volume of the current Snowflake account on Microsoft Azure.
SYSTEM$UNLINK_ORGANIZATION_USERsupportedAccounts, users, sessions, warehousesUnlinks a user object from an organization user so it can be managed as a local user going forward.
SYSTEM$UNLINK_ORGANIZATION_USER_GROUPsupportedAccounts, users, sessions, warehousesUnlinks an access control role from an organization user group so it can be managed as a local role going forward.
SYSTEM$UNMANAGE_ENTITY_FROM_DCM_PROJECTpreviewnot supportedContainer services & dev toolingRemoves an entity from the management scope of a DCM project without dropping the entity. Managed grants or attachments to the entity remain unchanged. You…
SYSTEM$UNMANAGE_FROM_DCM_PROJECTpreviewnot supportedContainer services & dev toolingRemoves entities, grants, and data metric function attachments from the management scope of a DCM project without dropping, revoking, or detaching them. You…
SYSTEM$UNREGISTER_PRIVATELINK_ENDPOINTBusiness Critical+not supportedIntegrations, network & secretsUnregisters a private connectivity endpoint to route your connection to the Snowflake service.
SYSTEM$UNSET_DEFAULT_COLUMNS_OVERRIDE_FOR_SHOW_COMMANDsupportedAccounts, users, sessions, warehousesClears the list of columns specified by a previous call to SYSTEM$SET_DEFAULT_COLUMNS_OVERRIDE_FOR_SHOW_COMMAND for a type of object.
SYSTEM$UNSET_DEFAULT_COLUMNS_OVERRIDE_FOR_SYSTEM_OBJECTsupportedAccounts, users, sessions, warehousesClears the list of columns specified by a previous call to SYSTEM$SET_DEFAULT_COLUMNS_OVERRIDE_FOR_SYSTEM_OBJECT for the specified Snowflake view (for example,…
SYSTEM$UNSET_EVENT_SHARING_ACCOUNT_FOR_REGIONnot supportedNative apps, listings & sharingUnsets the events account for a region.
SYSTEM$UNVERIFY_DNS_DOMAINnot supportedIntegrations, network & secretsRemoves a verified domain entry owned by the current account. After the domain is removed, users with email addresses in that domain are no longer treated as…
SYSTEM$UPDATE_MULTI_PARTY_APPROVAL_JUSTIFICATIONBusiness Critical+supportedGovernance (policies, tags, data quality)Submits or updates the business justification for a Multi-party Approval request. Call this function after receiving an MPA_APPROVAL_REQUIRED error to explain…
SYSTEM$USER_TASK_CANCEL_ONGOING_EXECUTIONSsupportedUDFs, procedures, tasks, alerts, scriptingCancels a run of the specified task that the system has already started to process (that is, a run with an EXECUTING state in the TASK_HISTORY output).
SYSTEM$VALIDATE_ACCOUNT_DELETIONnot supportedCore SQL functionsReturns every condition that blocks dropping an account. The function is read-only: it doesn’t drop the account or change any objects.
SYSTEM$VALIDATE_CONSUMER_ACCOUNTnot supportedCore SQL functionsChecks whether an account exists and is not a trial account, so that a listing provider can confirm the account is valid before adding it to a listing as a…
SYSTEM$VALIDATE_STORAGE_INTEGRATIONsupportedIntegrations, network & secretsValidates the configuration for a specified storage integration. The function attempts to use the storage integration to write, read, list, or delete a file…
SYSTEM$VERIFY_CATALOG_INTEGRATIONsupportedIceberg & external tablesVerifies the configuration for a specified catalog integration for Apache Iceberg™ REST.
SYSTEM$VERIFY_CMK_INFOnot supportedIntegrations, network & secretsVerifies your customer-managed key (CMK) configuration and returns a message about the registered CMK.
SYSTEM$VERIFY_CMK_INFO_POSTGRESnot supportedIntegrations, network & secretsVerifies your customer-managed key (CMK) configuration for Snowflake Postgres Tri-Secret Secure and returns a message about the registered CMK.
SYSTEM$VERIFY_CMK_INFO_SNOWFLAKE_MANAGED_VOLUMEnot supportedIntegrations, network & secretsVerifies that Snowflake can use your customer-managed key (CMK) for Tri-Secret Secure for Snowflake storage for Iceberg tables, and returns a message about the…
SYSTEM$VERIFY_DNS_DOMAINnot supportedIntegrations, network & secretsRegisters an email domain for domain verification and returns the DNS TXT record value the account must publish to prove ownership. Subsequent calls for the…
SYSTEM$VERIFY_EXTERNAL_OAUTH_TOKENnot supportedIntegrations, network & secretsDetermines whether your External OAuth access token is valid or has expired and needs to be regenerated.
SYSTEM$VERIFY_EXTERNAL_SECRET_INTEGRATIONpreviewnot supportedIntegrations, network & secretsVerifies that Snowflake can exchange a workload identity token for cloud credentials and list secrets through an external secret provider integration.
SYSTEM$VERIFY_EXTERNAL_VOLUMEsupportedIceberg & external tablesVerifies the configuration for a specified external volume.
SYSTEM$WAITsupportedCore SQL functionsWaits for the specified amount of time before proceeding.
SYSTEM$WAIT_FOR_OPENFLOW_CONNECTOR_STATUSpreviewnot supportedContainer services & dev toolingWaits until each named connector reaches one of the statuses you specify. Use this function when you know the expected status after an ALTER command. When you…
SYSTEM$WAIT_FOR_OPENFLOW_DEPLOYMENT_STATUSnot supportedContainer services & dev toolingWaits until each named deployment reaches one of the statuses you specify. Use this function when you know the expected status after an ALTER command. When you…
SYSTEM$WAIT_FOR_OPENFLOW_RUNTIME_STATUSnot supportedContainer services & dev toolingWaits until each named runtime reaches one of the statuses you specify. Use this function when you know the expected status after an ALTER command. When you…
SYSTEM$WAIT_FOR_SERVICESsupportedContainer services & dev toolingWaits for one or more Snowpark Container Services services to reach the READY state (or becomes upgraded) before returning.
SYSTEM$WAIT_FOR_STABLE_OPENFLOW_CONNECTORSpreviewnot supportedContainer services & dev toolingWaits until each named connector leaves a transitional state. Gen 2 Openflow commands that change connector state run asynchronously, so call this function…
SYSTEM$WAIT_FOR_STABLE_OPENFLOW_DEPLOYMENTSnot supportedContainer services & dev toolingWaits until each named deployment leaves a transitional state. Gen 2 Openflow commands that change deployment state run asynchronously, so call this function…
SYSTEM$WAIT_FOR_STABLE_OPENFLOW_RUNTIMESnot supportedContainer services & dev toolingWaits until each named runtime leaves a transitional state. Gen 2 Openflow commands that change runtime state run asynchronously, so call this function after…
SYSTEM$ZEROCOPY_CONNECTOR_LIST_SHARESnot supportedCore SQL functionsLists the data products that a Zero-Copy connector exposes, and shows which of them are already mounted as catalog-linked databases. The output is in JSON…
SYSTEM$ZEROCOPY_REFRESH_SEMANTIC_VIEWnot supportedCore SQL functionsRegenerates the semantic view in the SNOWFLAKE$ schema of a SAP® BDC catalog-linked database from the current SAP® Core Schema Notation (CSN).
SYSTEM$ZEROCOPY_SWAP_IMPORTED_DB_WITH_CLDnot supportedCore SQL functionsExchanges the names of a database that was created from a legacy Salesforce data share and a catalog-linked database that was created from a Salesforce…

Table functions (103)

FunctionSupportAreaDescription
ALERT_HISTORYsupportedUDFs, procedures, tasks, alerts, scriptingThis INFORMATION_SCHEMA table function can be used to query the history of alerts within a specified date range. The function returns the history of alerts for…
APPLICATION_CALLBACK_HISTORYpreviewsupportedNative apps, listings & sharingReturns information about the history of callback invocations for Snowflake Native Apps in your Snowflake account. Each row represents a callback invocation,…
APPLICATION_SPECIFICATION_STATUS_HISTORYsupportedNative apps, listings & sharingReturns information about the history of the status changes for app specifications in your Snowflake account.
AUTOMATIC_CLUSTERING_HISTORYsupportedTables, views, streams, sequencesThis table function is used for querying the Automatic Clustering history for given tables within a specified date range. The information returned by the…
AUTO_REFRESH_REGISTRATION_HISTORYsupportedIceberg & external tablesThis table function can be used to query the history of data files registered in the metadata for a specified external table or directory table and the credits…
AVAILABLE_LISTINGSsupportedNative apps, listings & sharingReturns all listings that are available for the consumer to discover and access.
AVAILABLE_LISTING_REFRESH_HISTORYsupportedNative apps, listings & sharingReturns the past 14 days of refresh history for an available listing or a database mounted from a listing using cross-cloud auto-fulfillment. The information…
BIND_VALUESsupportedQueries & DMLThis INFORMATION_SCHEMA table function returns information about the values of bind variables used in queries.
CODE_BUNDLE_HISTORYsupportedContainer services & dev toolingReturns the run history of Code Bundles: one row per run of EXECUTE CODE BUNDLE or EXECUTE NOTEBOOK PROJECT, including anonymous runs (EXECUTE CODE BUNDLE FROM…
COMPLETE_TASK_GRAPHSsupportedUDFs, procedures, tasks, alerts, scriptingReturns the status of a completed graph run. The function returns details for runs that executed successfully, failed, or were cancelled in the past 60…
COPY_HISTORYsupportedData loading & unloadingThis table function can be used to query Snowflake data loading history along various dimensions within the last 14 days. The function returns load activity…
CORTEX_SEARCH_BATCHsupportedAI & MLThis table function submits a batch of queries to a Cortex Search service for high-throughput offline use cases such as entity resolution, deduplication,…
CORTEX_SEARCH_DATA_SCANsupportedAI & MLThis table function returns the data indexed by a Cortex Search service, including the columns defined in the source query and the computed vector embeddings…
CORTEX_SEARCH_REFRESH_HISTORYsupportedAI & MLThis table function returns information about each refresh (completed and running) of Cortex Search services.
CUMULATIVE_PRIVACY_LOSSESEnterprise+supportedGovernance (policies, tags, data quality)Returns the privacy budgets associated with a specific privacy policy.
CURRENT_TASK_GRAPHSpartialUDFs, procedures, tasks, alerts, scriptingReturns the status of a graph run that is currently scheduled or is executing. A graph is currently defined as a single scheduled task or a task graph composed…
DATABASE_REFRESH_HISTORYsupportedReplication, failover & backupReturns the refresh history for a secondary database.
DATABASE_REFRESH_PROGRESSsupportedReplication, failover & backupThe DATABASE_REFRESH_PROGRESS family of functions can be used to query the status of a database refresh along various dimensions:
DATABASE_REFRESH_PROGRESS_BY_JOBsupportedReplication, failover & backupThe DATABASE_REFRESH_PROGRESS family of functions can be used to query the status of a database refresh along various dimensions:
DATABASE_REPLICATION_USAGE_HISTORYsupportedReplication, failover & backupThis table function can be used to query the replication history for a specified database within a specified date range. The information returned by the…
DATABASE_STORAGE_USAGE_HISTORYsupportedDatabases & schemasThis table function can be used to query the average daily storage usage, in bytes, for a single database (or all the databases in your account) within a…
DATA_METRIC_FUNCTION_EXPECTATIONSEnterprise+supportedGovernance (policies, tags, data quality)Returns information about the expectations that exist in the account.
DATA_METRIC_FUNCTION_REFERENCESEnterprise+supportedGovernance (policies, tags, data quality)Returns a row for each object that has the specified data metric function assigned to the object or returns a row for each data metric function assigned to the…
DATA_QUALITY_MONITORING_EXPECTATION_STATUSEnterprise+supportedGovernance (policies, tags, data quality)For a specified object, returns a row for every time a data metric function (DMF) with an expectation was run. You can obtain the status of the expectation in…
DATA_QUALITY_MONITORING_RESULTSsupportedGovernance (policies, tags, data quality)Returns a row for each data metric function assigned to the specified object, which includes the evaluation result and other metadata of the data metric…
DATA_TRANSFER_HISTORYsupportedReplication, failover & backupThis table function can be used to query the history of data transferred from Snowflake tables into a different cloud storage provider’s network (i.e. from…
DBT_PROJECT_EXECUTION_HISTORYsupportedContainer services & dev toolingReturns the execution history of dbt Projects on Snowflake.
DYNAMIC_TABLESsupportedTables, views, streams, sequencesThis table function returns metadata about dynamic tables, including aggregate lag metrics and the status of the most recent refreshes, within 7 days of the…
DYNAMIC_TABLE_GRAPH_HISTORYsupportedTables, views, streams, sequencesThis table function returns information on all dynamic tables in the current account. This information includes the dependencies between dynamic tables and on…
DYNAMIC_TABLE_REFRESH_HISTORYsupportedTables, views, streams, sequencesThis table function returns information about each refresh (completed and running) of dynamic tables.
ESTIMATE_HYBRID_TABLE_STORAGE_USAGEsupportedTables, views, streams, sequencesReturns a near-real-time estimate of the total storage usage, in bytes, of a hybrid table.
ESTIMATE_REMAINING_DP_AGGREGATESEnterprise+supportedGovernance (policies, tags, data quality)Returns the estimated number of aggregation functions that can be run before the limit of a privacy budget is reached. The number of remaining aggregates is…
EXTERNAL_FUNCTIONS_HISTORYsupportedUDFs, procedures, tasks, alerts, scriptingThis table function retrieves the history of external functions called by Snowflake for your entire Snowflake account.
EXTERNAL_TABLE_FILESsupportedIceberg & external tablesThis table function can be used to query information about the staged data files included in the metadata for a specified external table.
EXTERNAL_TABLE_FILE_REGISTRATION_HISTORYsupportedIceberg & external tablesThis table function can be used to query information about the metadata history for an external table, including:
FLATTENsupportedCore SQL functionsFlattens (explodes) compound values into multiple rows.
GENERATORsupportedCore SQL functionsCreates rows of data based either on a specified number of rows, a specified generation period (in seconds), or both. This system-defined table function…
GET_AI_EVALUATION_DATAnot supportedAI & MLRetrieves evaluation data for a run for a Cortex Agent or for an External Agent application (see External Agent commands).
GET_AI_OBSERVABILITY_EVENTSnot supportedAI & MLReturn AI Observability events from the AI_OBSERVABILITY_EVENTS table in the LOCAL schema. Pass an agent type that matches the object you are inspecting:
GET_AI_OBSERVABILITY_LOGSnot supportedAI & MLRetrieve log data for an AI Observability event, such as a warning or failure, for a Cortex Agent or an External Agent application (see External Agent…
GET_AI_RECORD_TRACEnot supportedAI & MLRetrieve a single trace record from an evaluation run for a Cortex Agent or for an External Agent application that stores traces in AI_OBSERVABILITY_EVENTS…
GET_CONTACTSsupportedAccounts, users, sessions, warehousesReturns the contacts associated with an object.
GET_JOB_HISTORYsupportedContainer services & dev toolingReturns the job history for Snowpark Container Services jobs up to 30 days with an optional time range. The function returns both running and deleted jobs.
GET_LINEAGEEnterprise+not supportedGovernance (policies, tags, data quality)Given a Snowflake object, returns data lineage information upstream or downstream from that object. Upstream means the path of objects that led to the creation…
GET_OBJECT_REFERENCESsupportedDatabases & schemasReturns a list of objects that a specified object references. Input is currently limited to the name of a view.
GET_QUERY_OPERATOR_STATSsupportedQueries & DMLReturns statistics about individual query operators within a query that has completed. You can run this function for any completed query that was executed in…
GET_SPARK_APPLICATION_HISTORYnot supportedCore SQL functionsReturns the history of Snowpark Connect for Spark applications in the account, including batch jobs and client sessions. This is the data that the Spark…
GET_TABLE_VERSIONSpreviewnot supportedTables, views, streams, sequencesReturns one row for each data snapshot that Snowflake has indexed for an Apache Iceberg™ table.
GET_TABLE_VERSION_REFSpreviewnot supportedTables, views, streams, sequencesReturns one row for each tag or branch in the Iceberg table metadata that Snowflake has indexed, when the snapshot that the reference points to is present in…
ICEBERG_TABLE_FILESsupportedIceberg & external tablesReturns information about the data files registered to an externally managed Apache Iceberg™ table at a specified point in time.
ICEBERG_TABLE_FILE_REGISTRATION_HISTORYpreviewnot supportedIceberg & external tablesReturns information about the Apache Parquet™ files that Snowflake registered or unregistered for a Parquet Direct table, including the status of each…
ICEBERG_TABLE_SNAPSHOT_REFRESH_HISTORYsupportedIceberg & external tablesReturns metadata and snapshot information about the most recent refresh history for a specified externally managed Apache Iceberg™ table.
INFER_SCHEMApartialData loading & unloadingAutomatically detects the file metadata schema in a set of staged data files that contain semi-structured data and retrieves the column definitions.
LISTING_REFRESH_HISTORYsupportedNative apps, listings & sharingReturns the past 14 days of refresh history for a cross-cloud auto-fulfillment listing. The information returned contains replication details for refresh…
LOGIN_HISTORYsupportedAccounts, users, sessions, warehousesThe LOGIN_HISTORY family of table functions can be used to query login attempts by Snowflake users along various dimensions:
LOGIN_HISTORY_BY_USERsupportedAccounts, users, sessions, warehousesThe LOGIN_HISTORY family of table functions can be used to query login attempts by Snowflake users along various dimensions:
MATERIALIZED_VIEW_REFRESH_HISTORYEnterprise+supportedTables, views, streams, sequencesThis table function is used for querying the materialized views refresh history for a specified materialized view within a specified date range. The…
MY_BUDGET_SUMMARYsupportedAccounts, users, sessions, warehousesReturns the calling user’s limits, usage, and current block status for each per-user quota that applies to them in the current account.
NETWORK_RULE_REFERENCESsupportedIntegrations, network & secretsReturns a row for each object with which the specified network rule is associated or returns a row for each network rule associated with the specified…
NOTIFICATION_HISTORYsupportedIntegrations, network & secretsThis table function can be used to query the history of notifications sent through Snowflake. These notifications include:
ONLINE_FEATURE_TABLE_REFRESH_HISTORYsupportedAI & MLThis table function returns information about each refresh (completed and running) of online feature tables.
PIPE_USAGE_HISTORYsupportedData loading & unloadingThis table function can be used to query the history of data loaded into Snowflake tables using Snowpipe within a specified date range. The function returns…
POLICY_REFERENCESsupportedGovernance (policies, tags, data quality)Returns a row for each object that has the specified policy assigned to the object or returns a row for each policy assigned to the specified object.
QUERY_ACCELERATION_HISTORYEnterprise+supportedQueries & DMLThe QUERY_ACCELERATION_HISTORY function is used for querying the query acceleration service history within a specified date range. The information returned…
QUERY_HISTORYsupportedQueries & DMLYou can use the QUERY_HISTORY family of table functions to query Snowflake query history along various dimensions:
QUERY_HISTORY_BY_SESSIONsupportedQueries & DMLYou can use the QUERY_HISTORY family of table functions to query Snowflake query history along various dimensions:
QUERY_HISTORY_BY_USERsupportedQueries & DMLYou can use the QUERY_HISTORY family of table functions to query Snowflake query history along various dimensions:
QUERY_HISTORY_BY_WAREHOUSEsupportedQueries & DMLYou can use the QUERY_HISTORY family of table functions to query Snowflake query history along various dimensions:
REPLICATION_GROUP_DANGLING_REFERENCESBusiness Critical+supportedReplication, failover & backupDetects cases where an object that’s referenced in a replication group or failover group isn’t actually replicated to the secondary account. Snowflake refers…
REPLICATION_GROUP_LAG_HISTORYBusiness Critical+partialReplication, failover & backupReturns the replication lag history for a secondary failover group over a time window. The results show how the replication lag for the group changed over…
REPLICATION_GROUP_REFRESH_HISTORYBusiness Critical+supportedReplication, failover & backupYou can use the REPLICATION_GROUP_REFRESH_HISTORY family of table functions to query the replication history for one secondary replication or failover group,…
REPLICATION_GROUP_REFRESH_HISTORY_ALLBusiness Critical+supportedReplication, failover & backupYou can use the REPLICATION_GROUP_REFRESH_HISTORY family of table functions to query the replication history for one secondary replication or failover group,…
REPLICATION_GROUP_REFRESH_PROGRESSBusiness Critical+supportedReplication, failover & backupYou can use the REPLICATION_GROUP_REFRESH_PROGRESS family of table functions to query the status of refresh operations for replication or failover groups:
REPLICATION_GROUP_REFRESH_PROGRESS_ALLBusiness Critical+supportedReplication, failover & backupYou can use the REPLICATION_GROUP_REFRESH_PROGRESS family of table functions to query the status of refresh operations for replication or failover groups:
REPLICATION_GROUP_REFRESH_PROGRESS_BY_JOBBusiness Critical+supportedReplication, failover & backupYou can use the REPLICATION_GROUP_REFRESH_PROGRESS family of table functions to query the status of refresh operations for replication or failover groups:
REPLICATION_GROUP_USAGE_HISTORYBusiness Critical+supportedReplication, failover & backupReturns the replication usage history for secondary replication or failover groups within the last 14 days.
REPLICATION_USAGE_HISTORYdeprecatedsupportedReplication, failover & backupThis table function can be used to query the replication history for a specified database within a specified date range. The information returned by the…
REST_EVENT_HISTORYpartialIntegrations, network & secretsReturns a list of SCIM REST API requests made to Snowflake over a specified time interval.
RESULT_SCANsupportedQueries & DMLReturns the result set of a previous command (within 24 hours of when you ran the query) as if the result was a table. This function is particularly useful if…
SEARCH_OPTIMIZATION_HISTORYEnterprise+supportedTables, views, streams, sequencesThis table function is used for querying maintenance history for indexes maintained by the search optimization service for a specified table within a specified…
SEMANTIC_VIEW_MATERIALIZATION_REFRESH_HISTORYsupportedAI & MLReturns the refresh history for a semantic view materialization, including the state, timing, and action taken for each refresh.
SERVERLESS_ALERT_HISTORYsupportedUDFs, procedures, tasks, alerts, scriptingThis table function is used for querying the serverless alert usage history. The information returned by the function includes the alert name and credits…
SERVERLESS_TASK_HISTORYsupportedUDFs, procedures, tasks, alerts, scriptingThis table function is used for querying the serverless task usage history. The information returned by the function includes the task name and credits…
SPLIT_TO_TABLEsupportedCore SQL functionsThis table function splits a string (based on a specified delimiter) and flattens the results into rows.
STAGE_DIRECTORY_FILE_REGISTRATION_HISTORYsupportedData loading & unloadingThis table function can be used to query information about the metadata history for a directory table, including:
STAGE_STORAGE_USAGE_HISTORYsupportedData loading & unloadingThis table function can be used to query the average daily data storage usage, in bytes, for all the Snowflake stages in your account within a specified date…
STORAGE_LIFECYCLE_POLICY_HISTORYsupportedGovernance (policies, tags, data quality)Returns execution history for storage lifecycle policies in your account within the last 14 days.
STRTOK_SPLIT_TO_TABLEsupportedCore SQL functionsTokenizes a string with the given set of delimiters and flattens the results into rows.
SYSTEM$DATA_METRIC_SCANEnterprise+supportedGovernance (policies, tags, data quality)Returns the rows identified by a data quality metric as containing data that fails a data quality check. For example, if you use the NULL_COUNT data metric…
SYSTEM$EVALUATE_DATA_QUALITY_EXPECTATIONSEnterprise+supportedGovernance (policies, tags, data quality)Returns the expectations for associations between data metric functions (DMFs) and a table, including whether an expectation is currently violated.
SYSTEM$EVALUATE_DATA_QUALITY_EXPECTATIONS_PERSIST_RESULTEnterprise+supportedGovernance (policies, tags, data quality)Evaluates data quality expectations for associations between data metric functions (DMFs) and a table and persists the results to the…
SYSTEM$STREAM_BACKLOGsupportedTables, views, streams, sequencesReturns the set of table versions between the current offset for a specified stream and the current timestamp. This function accepts any stream type as input…
TAG_REFERENCESsupportedGovernance (policies, tags, data quality)Returns a table in which each row displays an association between a tag and value.
TAG_REFERENCES_ALL_COLUMNSsupportedGovernance (policies, tags, data quality)Returns a table in which each row displays the tag name and tag value assigned to a specific column.
TAG_REFERENCES_WITH_LINEAGEsupportedGovernance (policies, tags, data quality)Returns a table in which each row displays an association between the specified tag and the Snowflake object to which the tag is associated.
TASK_DEPENDENTSsupportedUDFs, procedures, tasks, alerts, scriptingThis table function returns the list of child tasks for a given root task in a task graph.
TASK_GRAPH_CHANGESpreviewnot supportedUDFs, procedures, tasks, alerts, scriptingThis table function previews the uncommitted changes for a task graph object — the difference between the live (possibly-staged) definition of the graph and…
TASK_HISTORYsupportedUDFs, procedures, tasks, alerts, scriptingYou can use this table function to query the history of task usage within a specified date range. The function returns the history of task usage for your…
TO_QUERYsupportedQueries & DMLReturns a result set based on SQL text and an optional set of arguments that are passed to the SQL text if it is parameterized. The function compiles the SQL…
VALIDATEsupportedData loading & unloadingValidates the files loaded in a past execution of the COPY INTO <table> command and returns the errors encountered during the load, rather than just the first…
VALIDATE_PIPE_LOADsupportedData loading & unloadingThis table function can be used to validate data files processed by Snowpipe within a specified time range. The function returns details about any errors…
WAREHOUSE_LOAD_HISTORYsupportedAccounts, users, sessions, warehousesThis table function can be used to query the activity history (defined as the “query load”) for a single warehouse within a specified date range.
WAREHOUSE_METERING_HISTORYsupportedAccounts, users, sessions, warehousesThis table function can be used in queries to return the hourly credit usage for a single warehouse (or all the warehouses in your account) within a specified…

Table functions (Tables) (1)

FunctionSupportAreaDescription
APPLICATION_CONFIGURATION_VALUE_HISTORYsupportedNative apps, listings & sharingProvides a history of the value changes for application configurations in the specified Snowflake Native App.

Uncategorized (1)

FunctionSupportAreaDescription
GENERATE_POSTGRES_ACCESS_TOKEN_FOR_USERsupportedContainer services & dev toolingGenerates a short-lived access token to use as a password when logging into a Snowflake Postgres instance that has the AUTHENTICATION_AUTHORITY attribute set…

Vector functions (10)

FunctionSupportAreaDescription
VECTOR_AVGsupportedAI & MLComputes the element-wise average of vectors in an aggregate. Returns a vector where each element is the average of the corresponding elements across all input…
VECTOR_COSINE_SIMILARITYsupportedAI & MLComputes the cosine similarity between two vectors.
VECTOR_INNER_PRODUCTsupportedAI & MLComputes the inner product of two vectors.
VECTOR_L1_DISTANCEsupportedAI & MLComputes the L1 distance between two vectors.
VECTOR_L2_DISTANCEsupportedAI & MLComputes the L2 distance between two vectors.
VECTOR_MAXsupportedAI & MLComputes the element-wise maximum of vectors in an aggregate. Returns a vector where each element is the maximum of the corresponding elements across all input…
VECTOR_MINsupportedAI & MLComputes the element-wise minimum of vectors in an aggregate. Returns a vector where each element is the minimum of the corresponding elements across all input…
VECTOR_NORMALIZEsupportedAI & MLNormalizes a VECTOR in the L2 vector space, giving its elements values in the range of [0,1] and giving it a magnitude of 1.
VECTOR_SUMsupportedAI & MLComputes the element-wise sum of vectors in an aggregate. Returns a vector where each element is the sum of the corresponding elements across all input vectors.
VECTOR_TRUNCATEpartialAI & MLTruncates a VECTOR to a smaller dimension.

Window function syntax and usage (36)

FunctionSupportAreaDescription
APPROXIMATE_SIMILARITYsupportedCore SQL functionsReturns an estimation of the similarity (Jaccard index) of inputs based on their MinHash states. For more information about MinHash states, see Estimating…
APPROX_PERCENTILE_ACCUMULATEsupportedCore SQL functionsReturns the internal representation of the t-Digest state (as a JSON object) at the end of aggregation. (For more information about t-Digest, see: Estimating…
APPROX_PERCENTILE_COMBINEsupportedCore SQL functionsCombines (merges) percentile input states into a single output state.
APPROX_PERCENTILE_ESTIMATEsupportedCore SQL functionsReturns the desired approximated percentile value for the specified t-Digest state.
APPROX_TOP_K_ACCUMULATEsupportedCore SQL functionsReturns the Space-Saving summary at the end of aggregation. (For more information about the Space-Saving summary, see Estimating Frequent Values.)
APPROX_TOP_K_COMBINEsupportedCore SQL functionsCombines (merges) input states into a single output state.
APPROX_TOP_K_ESTIMATEsupportedCore SQL functionsReturns the approximate most frequent values and their estimated frequency for the given Space-Saving state. (For more information about the Space-Saving…
DATASKETCHES_HLL_ACCUMULATEsupportedCore SQL functionsReturns the sketch at the end of aggregation.
DATASKETCHES_HLL_COMBINEsupportedCore SQL functionsCombines (merges) input sketches into a single output sketch.
DATASKETCHES_HLL_ESTIMATEsupportedCore SQL functionsReturns the cardinality estimate for the given sketch.
DENSE_RANKsupportedCore SQL functionsReturns the rank of a value within a group of values, without gaps in the ranks.
FIRST_VALUEsupportedCore SQL functionsReturns the first value within an ordered group of values.
KURTOSISsupportedCore SQL functionsReturns the sample excess kurtosis of non-NULL records. If all records inside a group are NULL, the function returns NULL.
LAGsupportedCore SQL functionsAccesses data in a previous row in the same result set without having to join the table to itself.
LAST_VALUEsupportedCore SQL functionsReturns the last value within an ordered group of values.
LEADsupportedCore SQL functionsAccesses data in a subsequent row in the same result set without having to join the table to itself.
LISTAGGsupportedCore SQL functionsReturns the concatenated input values, separated by the delimiter string.
NTH_VALUEsupportedCore SQL functionsReturns the nth value (up to 1000) within an ordered group of values.
NTILEsupportedCore SQL functionsDivides an ordered data set equally into the number of buckets specified by constant_value. Buckets are sequentially numbered 1 through constant_value.
REGR_COUNTsupportedCore SQL functionsReturns the number of non-null number pairs in a group.
REGR_INTERCEPTsupportedCore SQL functionsReturns the intercept of the univariate linear regression line for non-null pairs in a group. It is computed for non-null pairs using the following formula:
REGR_R2supportedCore SQL functionsReturns the coefficient of determination for non-null pairs in a group. It is computed for non-null pairs using the following formula:
REGR_SLOPEsupportedCore SQL functionsReturns the slope of the linear regression line for non-null pairs in a group. It is computed for non-null pairs using the following formula:
REGR_SXXsupportedCore SQL functionsReturns REGR_COUNT(y, x) * VAR_POP(x) for non-null pairs.
REGR_SXYsupportedCore SQL functionsReturns REGR_COUNT(expr1, expr2) * COVAR_POP(expr1, expr2) for non-null pairs.
REGR_SYYsupportedCore SQL functionsReturns REGR_COUNT(y, x) * VAR_POP(y) for non-null pairs.
ROW_NUMBERsupportedCore SQL functionsReturns a unique row number for each row within a window partition.
STDDEVsupportedCore SQL functionsReturns the sample standard deviation (square root of sample variance) of non-NULL values. STDDEV and STDDEV_SAMP are aliases for the same function.
STDDEV_POPsupportedCore SQL functionsReturns the population standard deviation (square root of variance) of non-NULL values.
STDDEV_SAMPsupportedCore SQL functionsReturns the sample standard deviation (square root of sample variance) of non-NULL values. STDDEV and STDDEV_SAMP are aliases for the same function.
SUMsupportedCore SQL functionsReturns the sum of non-NULL records for expr. You can use the DISTINCT keyword to compute the sum of unique non-null values. If all records inside a group are…
VARIANCEsupportedCore SQL functionsReturns the sample variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.
VARIANCE_POPsupportedCore SQL functionsReturns the population variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.
VARIANCE_SAMPsupportedCore SQL functionsReturns the sample variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.
VAR_POPsupportedCore SQL functionsReturns the population variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.
VAR_SAMPsupportedCore SQL functionsReturns the sample variance of non-NULL records in a group. If all records inside a group are NULL, a NULL is returned.

Window functions (48)

FunctionSupportAreaDescription
ANY_VALUEsupportedCore SQL functionsReturns some value of the expression from the group. The result is non-deterministic.
APPROXIMATE_JACCARD_INDEXsupportedCore SQL functionsReturns an estimation of the similarity (Jaccard index) of inputs based on their MinHash states. For more information about Jaccard indexes and the related…
APPROX_COUNT_DISTINCTsupportedCore SQL functionsUses HyperLogLog to return an approximation of the distinct cardinality of the input (i.e. HLL(col1, col2, ... ) returns an approximation of COUNT(DISTINCT…
APPROX_PERCENTILEsupportedCore SQL functionsReturns an approximated value for the desired percentile (that is, if column c has n numbers, APPROX_PERCENTILE(c, p) returns a number such that approximately…
APPROX_TOP_KsupportedCore SQL functionsUses Space-Saving to return an approximation of the most frequent values in the input, along with their approximate frequencies.
ARRAY_AGGsupportedCore SQL functionsReturns the input values, pivoted into an array. If the input is empty, the function returns an empty array.
ARRAY_UNION_AGGsupportedCore SQL functionsReturns an ARRAY that contains the union of the distinct values from the input arrays in a column. You can use this to aggregate distinct values in arrays…
ARRAY_UNIQUE_AGGsupportedCore SQL functionsReturns an ARRAY that contains all of the distinct values from the specified column.
AVGsupportedCore SQL functionsReturns the average of non-NULL records. If all records inside a group are NULL, the function returns NULL.
BITAND_AGGsupportedCore SQL functionsReturns the bitwise AND value of all non-NULL numeric records in a group.
BITOR_AGGsupportedCore SQL functionsReturns the bitwise OR value of all non-NULL numeric records in a group.
BITXOR_AGGsupportedCore SQL functionsReturns the bitwise XOR value of all non-NULL numeric records in a group.
BOOLAND_AGGsupportedCore SQL functionsReturns TRUE if all non-NULL Boolean records in a group evaluate to TRUE.
BOOLOR_AGGsupportedCore SQL functionsReturns TRUE if at least one Boolean record in a group evaluates to TRUE.
BOOLXOR_AGGsupportedCore SQL functionsReturns TRUE if exactly one Boolean record in the group evaluates to TRUE.
CONDITIONAL_CHANGE_EVENTsupportedCore SQL functionsReturns a window event number for each row within a window partition when the value of the argument expr1 in the current row is different from the value of…
CONDITIONAL_TRUE_EVENTsupportedCore SQL functionsReturns a window event number for each row within a window partition based on the result of the boolean argument expr1. The number starts from 0 and is…
CORRsupportedCore SQL functionsReturns the correlation coefficient for non-null pairs in a group. It is computed for non-null pairs using the following formula:
COUNTsupportedCore SQL functionsReturns either the number of non-NULL records for the specified columns, or the total number of records.
COUNT_IFsupportedCore SQL functionsReturns the number of records that satisfy a condition or NULL if no records satisfy the condition.
COVAR_POPsupportedCore SQL functionsReturns the population covariance for non-null pairs in a group. It is computed for non-null pairs using the following formula:
COVAR_SAMPsupportedCore SQL functionsReturns the sample covariance for non-null pairs in a group. It is computed for non-null pairs using the following formula:
CUME_DISTsupportedCore SQL functionsFinds the cumulative distribution of a value with regard to other values within the same window partition.
DATASKETCHES_HLLsupportedCore SQL functionsReturns an approximation of the distinct cardinality of the input (that is, DATASKETCHES_HLL(col1) returns an approximation of COUNT(DISTINCT col1)).
HASH_AGGsupportedCore SQL functionsReturns an aggregate signed 64-bit hash value over the (unordered) set of input rows. HASH_AGG never returns NULL, even if no input is provided. Empty input…
HLLsupportedCore SQL functionsUses HyperLogLog to return an approximation of the distinct cardinality of the input (i.e. HLL(col1, col2, ... ) returns an approximation of COUNT(DISTINCT…
HLL_ACCUMULATEsupportedCore SQL functionsReturns the HyperLogLog state at the end of aggregation.
HLL_COMBINEsupportedCore SQL functionsCombines (merges) input states into a single output state.
HLL_ESTIMATEsupportedCore SQL functionsReturns the cardinality estimate for the given HyperLogLog state.
HLL_EXPORTsupportedCore SQL functionsConverts input in BINARY format to OBJECT format.
HLL_IMPORTsupportedCore SQL functionsConverts input in OBJECT format to BINARY format.
INTERPOLATE_BFILLpreviewsupportedCore SQL functionsUpdates rows in a time-series data set to gap-fill missing values based on surrounding values.
INTERPOLATE_FFILLpreviewsupportedCore SQL functionsUpdates rows in a time-series data set to gap-fill missing values based on surrounding values.
INTERPOLATE_LINEARpreviewsupportedCore SQL functionsUpdates rows in a time-series data set to gap-fill missing values based on surrounding values.
MAXsupportedCore SQL functionsReturns the maximum value for the records within expr. NULL values are ignored unless all the records are NULL, in which case a NULL value is returned.
MEDIANsupportedCore SQL functionsDetermines the median of a set of values.
MINsupportedCore SQL functionsReturns the minimum value for the records within expr. NULL values are ignored unless all the records are NULL, in which case a NULL value is returned.
MINHASHsupportedCore SQL functionsReturns a MinHash state containing an array of size k constructed by applying k number of different hash functions to the input rows and keeping the minimum of…
MINHASH_COMBINEsupportedCore SQL functionsCombines input MinHash states into a single MinHash output state. This Minhash state can then be input to the APPROXIMATE_SIMILARITY function to estimate the…
MODEsupportedCore SQL functionsReturns the most frequent value for the values within expr1. NULL values are ignored. If all the values are NULL, or there are 0 rows, then the function…
OBJECT_AGGsupportedCore SQL functionsReturns one OBJECT per group. For each (key, value) input pair, where key must be a VARCHAR and value must be a VARIANT, the resulting OBJECT contains a…
PERCENTILE_CONTsupportedCore SQL functionsReturn a percentile value based on a continuous distribution of the input column (specified in order_by_expr). If no input row lies exactly at the desired…
PERCENTILE_DISCsupportedCore SQL functionsReturns a percentile value based on a discrete distribution of the input column (specified in order_by_expr). The returned value is that whose row has the…
PERCENT_RANKsupportedCore SQL functionsReturns the relative rank of a value within a group of values, specified as a percentage ranging from 0.0 to 1.0.
RANKsupportedCore SQL functionsReturns the rank of a value within an ordered group of values.
RATIO_TO_REPORTsupportedCore SQL functionsReturns the ratio of a value within a group to the sum of the values within the group. If expr1 evaluates to null or the sum of expr1 within the group…
REGR_AVGXsupportedCore SQL functionsReturns the average of the independent variable for non-null pairs in a group, where x is the independent variable and y is the dependent variable.
REGR_AVGYsupportedCore SQL functionsReturns the average of the dependent variable for non-null pairs in a group, where x is the independent variable and y is the dependent variable.

Not in the SQL reference (44)

Aliases and helpers the emulator registers. Not counted in the coverage figure.

NameSupportAreaSignatures
BIT_ANDsupportedOther(ANY, ANY) → NUMBER
(BINARY, BINARY) → BINARY
(DECFLOAT, DECFLOAT) → NUMBER
(NUMBER, NUMBER) → NUMBER
(BINARY, BINARY, ANY) → BINARY
(BINARY, BINARY, BOOLEAN) → BINARY
(BINARY, BINARY, DECFLOAT) → BINARY
(BINARY, BINARY, FLOAT) → BINARY
(BINARY, BINARY, NUMBER) → BINARY
(BINARY, BINARY, VARCHAR) → BINARY
(BINARY, BINARY, VARIANT) → BINARY
BIT_NOTsupportedOther(NUMBER) → NUMBER
BIT_ORsupportedOther(ANY, ANY) → NUMBER
(BINARY, BINARY) → BINARY
(NUMBER, NUMBER) → NUMBER
(BINARY, BINARY, ANY) → BINARY
(BINARY, BINARY, BOOLEAN) → BINARY
(BINARY, BINARY, DECFLOAT) → BINARY
(BINARY, BINARY, FLOAT) → BINARY
(BINARY, BINARY, NUMBER) → BINARY
(BINARY, BINARY, VARCHAR) → BINARY
(BINARY, BINARY, VARIANT) → BINARY
BIT_SHIFTLEFTsupportedOther(NUMBER, NUMBER) → NUMBER
BIT_SHIFTRIGHTsupportedOther(NUMBER, NUMBER) → NUMBER
BIT_XORsupportedOther(ANY, ANY) → NUMBER
(BINARY, BINARY) → BINARY
(NUMBER, NUMBER) → NUMBER
(BINARY, BINARY, ANY) → BINARY
(BINARY, BINARY, BOOLEAN) → BINARY
(BINARY, BINARY, DECFLOAT) → BINARY
(BINARY, BINARY, FLOAT) → BINARY
(BINARY, BINARY, NUMBER) → BINARY
(BINARY, BINARY, VARCHAR) → BINARY
(BINARY, BINARY, VARIANT) → BINARY
CURRENT_TIMESTAMP_LTZsupportedOther() → TIMESTAMP_LTZ
NO_PRIVACY_POLICYsupportedOther() → OBJECT
NTH_VALUE_FROM_LASTsupportedOther(ANY, NUMBER) → ANY
OBJECTAGGsupportedOther(VARCHAR, VARIANT)
PRIVACY_BUDGETsupportedOther(VARCHAR, FLOAT, FLOAT, VARCHAR) → OBJECT
ST_GEOGFROMEWKBsupportedOther(ANY) → GEOGRAPHY
(BINARY) → GEOGRAPHY
(VARCHAR) → GEOGRAPHY
(ANY, ANY) → GEOGRAPHY
(BINARY, BOOLEAN) → GEOGRAPHY
(VARCHAR, BOOLEAN) → GEOGRAPHY
ST_GEOGFROMEWKTsupportedOther(ANY) → GEOGRAPHY
(VARCHAR) → GEOGRAPHY
(ANY, ANY) → GEOGRAPHY
(VARCHAR, BOOLEAN) → GEOGRAPHY
ST_GEOGFROMTEXTsupportedOther(ANY) → GEOGRAPHY
(VARCHAR) → GEOGRAPHY
(ANY, ANY) → GEOGRAPHY
(VARCHAR, BOOLEAN) → GEOGRAPHY
ST_GEOGFROMWKBsupportedOther(ANY) → GEOGRAPHY
(BINARY) → GEOGRAPHY
(VARCHAR) → GEOGRAPHY
(ANY, ANY) → GEOGRAPHY
(BINARY, BOOLEAN) → GEOGRAPHY
(VARCHAR, BOOLEAN) → GEOGRAPHY
ST_GEOGFROMWKTsupportedOther(ANY) → GEOGRAPHY
(VARCHAR) → GEOGRAPHY
(ANY, ANY) → GEOGRAPHY
(VARCHAR, BOOLEAN) → GEOGRAPHY
ST_GEOGRAPHYFROMEWKBsupportedOther(ANY) → GEOGRAPHY
(BINARY) → GEOGRAPHY
(VARCHAR) → GEOGRAPHY
(ANY, ANY) → GEOGRAPHY
(BINARY, BOOLEAN) → GEOGRAPHY
(VARCHAR, BOOLEAN) → GEOGRAPHY
ST_GEOGRAPHYFROMEWKTsupportedOther(ANY) → GEOGRAPHY
(VARCHAR) → GEOGRAPHY
(ANY, ANY) → GEOGRAPHY
(VARCHAR, BOOLEAN) → GEOGRAPHY
ST_GEOGRAPHYFROMTEXTsupportedOther(ANY) → GEOGRAPHY
(VARCHAR) → GEOGRAPHY
(ANY, ANY) → GEOGRAPHY
(VARCHAR, BOOLEAN) → GEOGRAPHY
ST_GEOMETRYFROMEWKBsupportedOther(ANY) → GEOMETRY
(BINARY) → GEOMETRY
(VARCHAR) → GEOMETRY
(ANY, ANY) → GEOMETRY
(BINARY, BOOLEAN) → GEOMETRY
(BINARY, DATE) → GEOMETRY
(BINARY, FLOAT) → GEOMETRY
(BINARY, NUMBER) → GEOMETRY
(BINARY, TIME) → GEOMETRY
(BINARY, TIMESTAMP_LTZ) → GEOMETRY
(BINARY, TIMESTAMP_NTZ) → GEOMETRY
(BINARY, TIMESTAMP_TZ) → GEOMETRY
(BINARY, VARCHAR) → GEOMETRY
(BINARY, VARIANT) → GEOMETRY
(VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, DATE) → GEOMETRY
(VARCHAR, FLOAT) → GEOMETRY
(VARCHAR, NUMBER) → GEOMETRY
(VARCHAR, TIME) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, VARCHAR) → GEOMETRY
(VARCHAR, VARIANT) → GEOMETRY
(ANY, ANY, ANY) → GEOMETRY
(BINARY, BOOLEAN, BOOLEAN) → GEOMETRY
(BINARY, DATE, BOOLEAN) → GEOMETRY
(BINARY, FLOAT, BOOLEAN) → GEOMETRY
(BINARY, NUMBER, BOOLEAN) → GEOMETRY
(BINARY, TIME, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(BINARY, VARCHAR, BOOLEAN) → GEOMETRY
(BINARY, VARIANT, BOOLEAN) → GEOMETRY
(VARCHAR, BOOLEAN, BOOLEAN) → GEOMETRY
(VARCHAR, DATE, BOOLEAN) → GEOMETRY
(VARCHAR, FLOAT, BOOLEAN) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN) → GEOMETRY
(VARCHAR, TIME, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, VARIANT, BOOLEAN) → GEOMETRY
(ANY, ANY, ANY, ANY) → GEOMETRY
(BINARY, NUMBER, BOOLEAN, NUMBER) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN, NUMBER) → GEOMETRY
ST_GEOMETRYFROMEWKTsupportedOther(ANY) → GEOMETRY
(VARCHAR) → GEOMETRY
(ANY, ANY) → GEOMETRY
(BINARY, DATE) → GEOMETRY
(BINARY, TIME) → GEOMETRY
(BINARY, TIMESTAMP_LTZ) → GEOMETRY
(BINARY, TIMESTAMP_NTZ) → GEOMETRY
(BINARY, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, DATE) → GEOMETRY
(VARCHAR, FLOAT) → GEOMETRY
(VARCHAR, NUMBER) → GEOMETRY
(VARCHAR, TIME) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, VARCHAR) → GEOMETRY
(VARCHAR, VARIANT) → GEOMETRY
(ANY, ANY, ANY) → GEOMETRY
(BINARY, DATE, BOOLEAN) → GEOMETRY
(BINARY, TIME, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, BOOLEAN, BOOLEAN) → GEOMETRY
(VARCHAR, DATE, BOOLEAN) → GEOMETRY
(VARCHAR, FLOAT, BOOLEAN) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN) → GEOMETRY
(VARCHAR, TIME, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, VARIANT, BOOLEAN) → GEOMETRY
ST_GEOMETRYFROMTEXTsupportedOther(ANY) → GEOMETRY
(VARCHAR) → GEOMETRY
(ANY, ANY) → GEOMETRY
(BINARY, DATE) → GEOMETRY
(BINARY, TIME) → GEOMETRY
(BINARY, TIMESTAMP_LTZ) → GEOMETRY
(BINARY, TIMESTAMP_NTZ) → GEOMETRY
(BINARY, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, DATE) → GEOMETRY
(VARCHAR, FLOAT) → GEOMETRY
(VARCHAR, NUMBER) → GEOMETRY
(VARCHAR, TIME) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, VARCHAR) → GEOMETRY
(VARCHAR, VARIANT) → GEOMETRY
(ANY, ANY, ANY) → GEOMETRY
(BINARY, DATE, BOOLEAN) → GEOMETRY
(BINARY, TIME, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, BOOLEAN, BOOLEAN) → GEOMETRY
(VARCHAR, DATE, BOOLEAN) → GEOMETRY
(VARCHAR, FLOAT, BOOLEAN) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN) → GEOMETRY
(VARCHAR, TIME, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, VARIANT, BOOLEAN) → GEOMETRY
ST_GEOMFROMEWKBsupportedOther(ANY) → GEOMETRY
(BINARY) → GEOMETRY
(VARCHAR) → GEOMETRY
(ANY, ANY) → GEOMETRY
(BINARY, BOOLEAN) → GEOMETRY
(BINARY, DATE) → GEOMETRY
(BINARY, FLOAT) → GEOMETRY
(BINARY, NUMBER) → GEOMETRY
(BINARY, TIME) → GEOMETRY
(BINARY, TIMESTAMP_LTZ) → GEOMETRY
(BINARY, TIMESTAMP_NTZ) → GEOMETRY
(BINARY, TIMESTAMP_TZ) → GEOMETRY
(BINARY, VARCHAR) → GEOMETRY
(BINARY, VARIANT) → GEOMETRY
(VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, DATE) → GEOMETRY
(VARCHAR, FLOAT) → GEOMETRY
(VARCHAR, NUMBER) → GEOMETRY
(VARCHAR, TIME) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, VARCHAR) → GEOMETRY
(VARCHAR, VARIANT) → GEOMETRY
(ANY, ANY, ANY) → GEOMETRY
(BINARY, BOOLEAN, BOOLEAN) → GEOMETRY
(BINARY, DATE, BOOLEAN) → GEOMETRY
(BINARY, FLOAT, BOOLEAN) → GEOMETRY
(BINARY, NUMBER, BOOLEAN) → GEOMETRY
(BINARY, TIME, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(BINARY, VARCHAR, BOOLEAN) → GEOMETRY
(BINARY, VARIANT, BOOLEAN) → GEOMETRY
(VARCHAR, BOOLEAN, BOOLEAN) → GEOMETRY
(VARCHAR, DATE, BOOLEAN) → GEOMETRY
(VARCHAR, FLOAT, BOOLEAN) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN) → GEOMETRY
(VARCHAR, TIME, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, VARIANT, BOOLEAN) → GEOMETRY
(ANY, ANY, ANY, ANY) → GEOMETRY
(BINARY, NUMBER, BOOLEAN, NUMBER) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN, NUMBER) → GEOMETRY
ST_GEOMFROMEWKTsupportedOther(ANY) → GEOMETRY
(VARCHAR) → GEOMETRY
(ANY, ANY) → GEOMETRY
(BINARY, DATE) → GEOMETRY
(BINARY, TIME) → GEOMETRY
(BINARY, TIMESTAMP_LTZ) → GEOMETRY
(BINARY, TIMESTAMP_NTZ) → GEOMETRY
(BINARY, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, DATE) → GEOMETRY
(VARCHAR, FLOAT) → GEOMETRY
(VARCHAR, NUMBER) → GEOMETRY
(VARCHAR, TIME) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, VARCHAR) → GEOMETRY
(VARCHAR, VARIANT) → GEOMETRY
(ANY, ANY, ANY) → GEOMETRY
(BINARY, DATE, BOOLEAN) → GEOMETRY
(BINARY, TIME, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, BOOLEAN, BOOLEAN) → GEOMETRY
(VARCHAR, DATE, BOOLEAN) → GEOMETRY
(VARCHAR, FLOAT, BOOLEAN) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN) → GEOMETRY
(VARCHAR, TIME, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, VARIANT, BOOLEAN) → GEOMETRY
ST_GEOMFROMTEXTsupportedOther(ANY) → GEOMETRY
(VARCHAR) → GEOMETRY
(ANY, ANY) → GEOMETRY
(BINARY, DATE) → GEOMETRY
(BINARY, TIME) → GEOMETRY
(BINARY, TIMESTAMP_LTZ) → GEOMETRY
(BINARY, TIMESTAMP_NTZ) → GEOMETRY
(BINARY, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, DATE) → GEOMETRY
(VARCHAR, FLOAT) → GEOMETRY
(VARCHAR, NUMBER) → GEOMETRY
(VARCHAR, TIME) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, VARCHAR) → GEOMETRY
(VARCHAR, VARIANT) → GEOMETRY
(ANY, ANY, ANY) → GEOMETRY
(BINARY, DATE, BOOLEAN) → GEOMETRY
(BINARY, TIME, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, BOOLEAN, BOOLEAN) → GEOMETRY
(VARCHAR, DATE, BOOLEAN) → GEOMETRY
(VARCHAR, FLOAT, BOOLEAN) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN) → GEOMETRY
(VARCHAR, TIME, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, VARIANT, BOOLEAN) → GEOMETRY
ST_GEOMFROMWKBsupportedOther(ANY) → GEOMETRY
(BINARY) → GEOMETRY
(VARCHAR) → GEOMETRY
(ANY, ANY) → GEOMETRY
(BINARY, BOOLEAN) → GEOMETRY
(BINARY, DATE) → GEOMETRY
(BINARY, FLOAT) → GEOMETRY
(BINARY, NUMBER) → GEOMETRY
(BINARY, TIME) → GEOMETRY
(BINARY, TIMESTAMP_LTZ) → GEOMETRY
(BINARY, TIMESTAMP_NTZ) → GEOMETRY
(BINARY, TIMESTAMP_TZ) → GEOMETRY
(BINARY, VARCHAR) → GEOMETRY
(BINARY, VARIANT) → GEOMETRY
(VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, DATE) → GEOMETRY
(VARCHAR, FLOAT) → GEOMETRY
(VARCHAR, NUMBER) → GEOMETRY
(VARCHAR, TIME) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, VARCHAR) → GEOMETRY
(VARCHAR, VARIANT) → GEOMETRY
(ANY, ANY, ANY) → GEOMETRY
(BINARY, BOOLEAN, BOOLEAN) → GEOMETRY
(BINARY, DATE, BOOLEAN) → GEOMETRY
(BINARY, FLOAT, BOOLEAN) → GEOMETRY
(BINARY, NUMBER, BOOLEAN) → GEOMETRY
(BINARY, TIME, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(BINARY, VARCHAR, BOOLEAN) → GEOMETRY
(BINARY, VARIANT, BOOLEAN) → GEOMETRY
(VARCHAR, BOOLEAN, BOOLEAN) → GEOMETRY
(VARCHAR, DATE, BOOLEAN) → GEOMETRY
(VARCHAR, FLOAT, BOOLEAN) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN) → GEOMETRY
(VARCHAR, TIME, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, VARIANT, BOOLEAN) → GEOMETRY
(ANY, ANY, ANY, ANY) → GEOMETRY
(BINARY, NUMBER, BOOLEAN, NUMBER) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN, NUMBER) → GEOMETRY
ST_GEOMFROMWKTsupportedOther(ANY) → GEOMETRY
(VARCHAR) → GEOMETRY
(ANY, ANY) → GEOMETRY
(BINARY, DATE) → GEOMETRY
(BINARY, TIME) → GEOMETRY
(BINARY, TIMESTAMP_LTZ) → GEOMETRY
(BINARY, TIMESTAMP_NTZ) → GEOMETRY
(BINARY, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, DATE) → GEOMETRY
(VARCHAR, FLOAT) → GEOMETRY
(VARCHAR, NUMBER) → GEOMETRY
(VARCHAR, TIME) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ) → GEOMETRY
(VARCHAR, VARCHAR) → GEOMETRY
(VARCHAR, VARIANT) → GEOMETRY
(ANY, ANY, ANY) → GEOMETRY
(BINARY, DATE, BOOLEAN) → GEOMETRY
(BINARY, TIME, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(BINARY, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, BOOLEAN, BOOLEAN) → GEOMETRY
(VARCHAR, DATE, BOOLEAN) → GEOMETRY
(VARCHAR, FLOAT, BOOLEAN) → GEOMETRY
(VARCHAR, NUMBER, BOOLEAN) → GEOMETRY
(VARCHAR, TIME, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_LTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_NTZ, BOOLEAN) → GEOMETRY
(VARCHAR, TIMESTAMP_TZ, BOOLEAN) → GEOMETRY
(VARCHAR, VARCHAR, BOOLEAN) → GEOMETRY
(VARCHAR, VARIANT, BOOLEAN) → GEOMETRY
SYSTEM$ARE_ANACONDA_TERMS_ACKNOWLEDGEDsupportedOther() → BOOLEAN
SYSTEM$BOOTSTRAP_DATA_REQUESTsupportedOther() → VARCHAR
(ANY) → VARCHAR
(SNOWFLAKE_VARCHAR[]) → VARCHAR
SYSTEM$GET_DEFAULT_PYTHON_ARTIFACT_REPOSITORYsupportedOther(VARCHAR, VARCHAR, VARCHAR) → VARCHAR
SYSTEM$GET_REFERENCE_DEFINITIONSsupportedNative apps, listings & sharing(VARCHAR) → VARCHAR
SYSTEM$RETURN_CURRENT_ORG_NAMEsupportedOther() → VARCHAR
SYSTEM$SEND_EMAILsupportedOther(ANY, ANY, ANY, ANY) → BOOLEAN
(VARCHAR, VARCHAR, VARCHAR, VARCHAR) → BOOLEAN
(VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR) → BOOLEAN
SYSTEM$SEND_SNOWFLAKE_NOTIFICATIONsupportedOther(ANY, ANY) → VARCHAR
(ARRAY, ARRAY) → VARCHAR
(ARRAY, VARCHAR) → VARCHAR
(VARCHAR, ARRAY) → VARCHAR
(VARCHAR, VARCHAR) → VARCHAR
SYSTEM$VALIDATE_NATIVE_APP_SETUPsupportedOther(VARCHAR) → VARCHAR
TIMEFROMPARTSsupportedOther(ANY, ANY, ANY) → TIME
(NUMBER, NUMBER, NUMBER) → TIME
(NUMBER, NUMBER, NUMBER, NUMBER) → TIME
TIMESTAMPFROMPARTSsupportedOther(DATE, TIME) → TIMESTAMP_NTZ
(ANY, ANY, ANY, ANY, ANY, ANY) → TIMESTAMP_NTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_NTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_NTZ
TIMESTAMPLTZFROMPARTSsupportedOther(DATE, TIME) → TIMESTAMP_LTZ
(ANY, ANY, ANY, ANY, ANY, ANY) → TIMESTAMP_LTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_LTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_LTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, VARCHAR) → TIMESTAMP_LTZ
TIMESTAMPNTZFROMPARTSsupportedOther(DATE, TIME) → TIMESTAMP_NTZ
(ANY, ANY, ANY, ANY, ANY, ANY) → TIMESTAMP_NTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_NTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_NTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, VARCHAR) → TIMESTAMP_NTZ
TIMESTAMPTZFROMPARTSsupportedOther(DATE, TIME) → TIMESTAMP_TZ
(ANY, ANY, ANY, ANY, ANY, ANY) → TIMESTAMP_TZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_TZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_TZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, VARCHAR) → TIMESTAMP_TZ
TIMESTAMP_LTZ_FROM_PARTSsupportedOther(DATE, TIME) → TIMESTAMP_LTZ
(ANY, ANY, ANY, ANY, ANY, ANY) → TIMESTAMP_LTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_LTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_LTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, VARCHAR) → TIMESTAMP_LTZ
TIMESTAMP_NTZ_FROM_PARTSsupportedOther(DATE, TIME) → TIMESTAMP_NTZ
(ANY, ANY, ANY, ANY, ANY, ANY) → TIMESTAMP_NTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_NTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_NTZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, VARCHAR) → TIMESTAMP_NTZ
TIMESTAMP_TZ_FROM_PARTSsupportedOther(DATE, TIME) → TIMESTAMP_TZ
(ANY, ANY, ANY, ANY, ANY, ANY) → TIMESTAMP_TZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_TZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER) → TIMESTAMP_TZ
(NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, NUMBER, VARCHAR) → TIMESTAMP_TZ
WEBHOOK_INTEGRATION_CONFIGsupportedOther—