You are viewing documentation about an older version (1.2.0). View latest version

snowflake.snowpark.functions.countDistinct

snowflake.snowpark.functions.countDistinct(*cols: ColumnOrName) Column[source]

Returns either the number of non-NULL distinct records for the specified columns, or the total number of the distinct records.