org.apache.spark.sql.catalyst.plans.logical
Creates a ColumnStat object from the given map.
Creates a ColumnStat object from the given map. This is used to deserialize column stats from some external storage. The serialization side is defined in ColumnStat.toMap.
Convert a struct for column stats (defined in statExprs) into ColumnStat.
Constructs an expression to compute column statistics for a given column.
Constructs an expression to compute column statistics for a given column.
The expression should create a single struct column with the following schema: distinctCount: Long, min: T, max: T, nullCount: Long, avgLen: Long, maxLen: Long
Together with rowToColumnStat, this function is used to create ColumnStat and as a result should stay in sync with it.
Returns true iff the we support gathering column statistics on column of the given type.