org.apache.spark.sql.catalyst.plans.logical.statsEstimation
Original column stats from child.
Gets column stat for the given attribute.
Gets column stat for the given attribute. Prefer the column stat in updatedMap than that in originalMap, because updatedMap has the latest (updated) column stats.
Original column stats from child.
Collects updated column stats, and scales down ndv for other column stats if the number of rows decreases after this Filter operator.
Updates column stats in updatedMap.
This class contains the original column stats from child, and maintains the updated column stats. We will update the corresponding ColumnStats for a column after we apply a predicate condition. For example, column c has [min, max] value as [0, 100]. In a range condition such as (c > 40 AND c <= 50), we need to set the column's [min, max] value to [40, 100] after we evaluate the first condition c > 40. We also need to set the column's [min, max] value to [40, 50] after we evaluate the second condition c <= 50.
Original column stats from child.