snowflake.snowpark.functions.count_distinct¶ snowflake.snowpark.functions.count_distinct(*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.