@@ -248,14 +248,14 @@ impl PruningPredicate {
248248 // values in the set for the predicate to evaluate to true.
249249 // If `contained` returns false, that means the column is
250250 // not any of the values so we can prune the container
251- Guarantee :: In => builder. append_array ( & results) ,
251+ Guarantee :: In => builder. combine_array ( & results) ,
252252 // `NotIn` means the values in the column must must not be
253253 // any of the values in the set for the predicate to
254254 // evaluate to true. If contained returns true, it means the
255255 // column is only in the set of values so we can prune the
256256 // container
257257 Guarantee :: NotIn => {
258- builder. append_array ( & arrow:: compute:: not ( & results) ?)
258+ builder. combine_array ( & arrow:: compute:: not ( & results) ?)
259259 }
260260 }
261261 }
@@ -270,7 +270,7 @@ impl PruningPredicate {
270270 build_statistics_record_batch ( statistics, & self . required_columns ) ?;
271271
272272 // Evaluate the pruning predicate on that record batch and append any results to the builder
273- builder. append_value ( self . predicate_expr . evaluate ( & statistics_batch) ?) ;
273+ builder. combine_value ( self . predicate_expr . evaluate ( & statistics_batch) ?) ;
274274
275275 Ok ( builder. build ( ) )
276276 }
@@ -336,14 +336,14 @@ impl BoolVecBuilder {
336336 }
337337 }
338338
339- /// Combines result `array` for a conjunct (e.g. `AND` clause) of a
339+ /// Combines result `array` for a conjunct (e.g. `AND` clause) of a
340340 /// predicate into the currently in progress array.
341341 ///
342342 /// Each `array` element is:
343343 /// * `true`: container has row that may pass the predicate
344344 /// * `false`: all container rows DEFINITELY DO NOT pass the predicate
345345 /// * `null`: container may or may not have rows that pass the predicate
346- fn append_array ( & mut self , array : & BooleanArray ) {
346+ fn combine_array ( & mut self , array : & BooleanArray ) {
347347 assert_eq ! ( array. len( ) , self . inner. len( ) ) ;
348348 for ( cur, new) in self . inner . iter_mut ( ) . zip ( array. iter ( ) ) {
349349 // `false` for this conjunct means we know for sure no rows could
@@ -356,14 +356,14 @@ impl BoolVecBuilder {
356356 }
357357
358358 /// Combines the results in the [`ColumnarValue`] to the currently in
359- /// progress array, following the same rules as [`Self::append_array `].
359+ /// progress array, following the same rules as [`Self::combine_array `].
360360 ///
361361 /// # Panics
362362 /// If `value` is not boolean
363- fn append_value ( & mut self , value : ColumnarValue ) {
363+ fn combine_value ( & mut self , value : ColumnarValue ) {
364364 match value {
365365 ColumnarValue :: Array ( array) => {
366- self . append_array ( array. as_boolean ( ) ) ;
366+ self . combine_array ( array. as_boolean ( ) ) ;
367367 }
368368 ColumnarValue :: Scalar ( ScalarValue :: Boolean ( Some ( false ) ) ) => {
369369 // False means all containers can not pass the predicate
0 commit comments