|
◆ span_compute_stats_generic()
void span_compute_stats_generic |
( |
VacAttrStats * |
stats, |
|
|
int |
non_null_cnt, |
|
|
int * |
slot_idx, |
|
|
SpanBound * |
lowers, |
|
|
SpanBound * |
uppers, |
|
|
float8 * |
lengths, |
|
|
bool |
valuedim |
|
) |
| |
Compute statistics for time type columns and for the time dimension of all temporal types whose subtype is not instant.
- Parameters
-
[in] | stats | Structure storing statistics information |
[in] | non_null_cnt | Number of rows that are not null |
[in] | slot_idx | Index of the slot where the statistics collected are stored |
[in] | lowers,uppers | Arrays of span bounds |
[in] | lengths | Arrays of span lengths |
[in] | valuedim | True for computing the histogram of the value dimension, false for the time dimension |
|