File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -204,8 +204,8 @@ class PresizedValueDescWriter : public ValueDescWriter<PresizedValueDescWriter>
204204 // however we allow for one extraneous write in case of excessive columns,
205205 // hence `2 + num_rows * num_cols` (see explanation in PushValue below).
206206 PresizedValueDescWriter (MemoryPool* pool, int32_t num_rows, int32_t num_cols)
207- : ValueDescWriter(pool, /* values_capacity= */ 2 +
208- static_cast <int64_t >(num_rows) * num_cols) {}
207+ : ValueDescWriter(
208+ pool, /* values_capacity= */ 2 + static_cast <int64_t >(num_rows) * num_cols) {}
209209
210210 void PushValue (ParsedValueDesc v) {
211211 DCHECK_LT (values_size_, values_capacity_);
@@ -536,9 +536,8 @@ class BlockParserImpl {
536536 // Use bulk filter only if average value length is >= 10 bytes,
537537 // as the bulk filter has a fixed cost that isn't compensated
538538 // when values are too short.
539- const int64_t bulk_filter_threshold =
540- static_cast <int64_t >(batch_.num_cols_ ) * (batch_.num_rows_ - start_num_rows) *
541- 10 ;
539+ const int64_t bulk_filter_threshold = static_cast <int64_t >(batch_.num_cols_ ) *
540+ (batch_.num_rows_ - start_num_rows) * 10 ;
542541 use_bulk_filter_ = (data - *out_data) > bulk_filter_threshold;
543542 }
544543
You can’t perform that action at this time.
0 commit comments