File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ use std::sync::Arc;
99
1010use vortex:: error:: VortexResult ;
1111use vortex:: error:: vortex_ensure;
12+ use vortex:: expr:: stats:: Precision :: Absent ;
1213use vortex:: expr:: stats:: Precision :: Exact ;
1314use vortex:: expr:: stats:: Precision :: Inexact ;
1415use vortex:: file:: multi:: MultiFileDataSource ;
@@ -124,7 +125,7 @@ pub unsafe extern "C-unwind" fn vx_data_source_get_row_count(
124125 rc. r#type = vx_estimate_type:: VX_ESTIMATE_INEXACT ;
125126 rc. estimate = rows;
126127 }
127- None => {
128+ Some ( Absent ) | None => {
128129 rc. r#type = vx_estimate_type:: VX_ESTIMATE_UNKNOWN ;
129130 }
130131 }
Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ pub unsafe extern "C-unwind" fn vx_data_source_scan(
238238 scan. partition_count ( ) . map ( |x| match x {
239239 Precision :: Exact ( v) => Precision :: Exact ( v as u64 ) ,
240240 Precision :: Inexact ( v) => Precision :: Inexact ( v as u64 ) ,
241+ Precision :: Absent => Precision :: Absent ,
241242 } ) ,
242243 unsafe { & mut * estimate } ,
243244 ) ;
You can’t perform that action at this time.
0 commit comments