Skip to content

Commit fabaaec

Browse files
committed
Revert "EXPERIMENTAL COMMIT: always canonicalize dict values eagerly"
This reverts commit 570d987. Signed-off-by: Andrew Duffy <[email protected]>
1 parent 570d987 commit fabaaec

File tree

5 files changed

+1
-10
lines changed

5 files changed

+1
-10
lines changed

vortex-datafusion/src/persistent/opener.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ impl FileOpener for VortexOpener {
251251
FieldName::from(field.name().as_str())
252252
})
253253
.collect::<Vec<_>>();
254-
// println!("FIELDS: {fields:?}");
255254
let projection_expr = select(fields, root());
256255

257256
// We share our layout readers with others partitions in the scan, so we can only need to read each layout in each file once.

vortex-datafusion/src/persistent/source.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ impl FileSource for VortexSource {
133133
};
134134

135135
let projection = base_config.file_column_projection_indices().map(Arc::from);
136-
// println!("CREATE FILE OPENER: projection {projection:?}");
137136

138137
let opener = VortexOpener {
139138
object_store,

vortex-layout/src/layouts/dict/reader.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::sync::{Arc, OnceLock};
88
use futures::future::BoxFuture;
99
use futures::{FutureExt, TryFutureExt, try_join};
1010
use vortex_array::compute::{MinMaxResult, min_max, take};
11-
use vortex_array::{Array, ArrayRef, IntoArray, MaskFuture};
11+
use vortex_array::{ArrayRef, MaskFuture};
1212
use vortex_dict::DictArray;
1313
use vortex_dtype::{DType, FieldMask};
1414
use vortex_error::{VortexError, VortexExpect, VortexResult};
@@ -76,7 +76,6 @@ impl DictReader {
7676
)
7777
.vortex_expect("must construct dict values array evaluation")
7878
.map_err(Arc::new)
79-
.map_ok(|arr| arr.to_canonical().into_array())
8079
.boxed()
8180
.shared()
8281
})

vortex-scan/src/split_by.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ impl SplitBy {
3939
// Register all splits in the row range for all layouts that are needed
4040
// to read the field mask.
4141
layout_reader.register_splits(field_mask, row_range, &mut row_splits)?;
42-
// Iterate the splits, show how large they are on average
43-
//for (&start, &end) in row_splits.iter().tuples() {
44-
// println!("split size: {}", end - start);
45-
//}
4642
row_splits
4743
}
4844
SplitBy::RowCount(n) => row_range

vortex-scan/src/tasks.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ pub(super) fn split_exec<A: 'static + Send>(
4545
return Ok(ok(None).boxed());
4646
}
4747

48-
// println!("row_range: {}", row_range.end - row_range.start);
49-
5048
let filter_mask = match ctx.filter.as_ref() {
5149
// No filter == immediate mask
5250
None => {

0 commit comments

Comments
 (0)