Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/query/sql/src/planner/optimizer/ir/stats/column_stat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ pub struct ColumnStat {
/// Count of null values
pub null_count: u64,

pub origin_min: Datum,
pub origin_max: Datum,

/// Histogram of column
pub histogram: Option<Histogram>,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ mod rule_grouping_sets_to_union;
mod rule_hierarchical_grouping_sets;
mod rule_push_down_filter_aggregate;
mod rule_push_down_limit_aggregate;
mod rule_shrink_type;
mod rule_split_aggregate;
mod rule_try_apply_agg_index;

Expand All @@ -28,5 +29,6 @@ pub use rule_grouping_sets_to_union::RuleGroupingSetsToUnion;
pub use rule_hierarchical_grouping_sets::RuleHierarchicalGroupingSetsToUnion;
pub use rule_push_down_filter_aggregate::RulePushDownFilterAggregate;
pub use rule_push_down_limit_aggregate::RulePushDownRankLimitAggregate;
pub use rule_shrink_type::RuleShrinkType;
pub use rule_split_aggregate::RuleSplitAggregate;
pub use rule_try_apply_agg_index::RuleTryApplyAggIndex;
Loading
Loading