Skip to content

Commit 58ed9a3

Browse files
add avg byte size in column statistics
1 parent b463a9f commit 58ed9a3

34 files changed

Lines changed: 602 additions & 58 deletions

File tree

datafusion-examples/examples/query_planning/expr_api.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ fn boundary_analysis_and_selectivity_demo() -> Result<()> {
307307
sum_value: Precision::Absent,
308308
distinct_count: Precision::Absent,
309309
byte_size: Precision::Absent,
310+
avg_byte_size: Precision::Absent,
310311
};
311312

312313
// We can then build our expression boundaries from the column statistics
@@ -377,6 +378,7 @@ fn boundary_analysis_in_conjunctions_demo() -> Result<()> {
377378
sum_value: Precision::Absent,
378379
distinct_count: Precision::Absent,
379380
byte_size: Precision::Absent,
381+
avg_byte_size: Precision::Absent,
380382
};
381383

382384
let initial_boundaries =

0 commit comments

Comments
 (0)