Macro mz_persist_types::stats2::primitive_stats

source ยท
macro_rules! primitive_stats {
    ($native:ty, $arrow_col:ty, $min_fn:path, $max_fn:path) => { ... };
}
Expand description

We collect stats for all primitive types in exactly the same way. This macro de-duplicates some of that logic.

Note: If at any point someone finds this macro too complex, they should feel free to refactor it away!