Skip to content

Commit 2a2dfb1

Browse files
committed
fixup
Signed-off-by: Joe Isaacs <[email protected]>
1 parent a58f2b0 commit 2a2dfb1

File tree

35 files changed

+70
-70
lines changed

35 files changed

+70
-70
lines changed

encodings/fastlanes/benches/pipeline_bitpacking_compare_scalar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ use mimalloc::MiMalloc;
99
use rand::prelude::StdRng;
1010
use rand::{Rng, SeedableRng};
1111
use vortex_array::compute::{filter, warm_up_vtables};
12+
use vortex_array::expr::{lit, lt, root};
1213
use vortex_array::{Array, ArrayRef, IntoArray, ToCanonical};
1314
use vortex_buffer::{BitBuffer, BufferMut};
1415
use vortex_dtype::NativePType;
1516
use vortex_error::VortexResult;
16-
use vortex_expr::{lit, lt, root};
1717
use vortex_fastlanes::FoRArray;
1818
use vortex_fastlanes::bitpack_compress::bitpack_to_best_bit_width;
1919
use vortex_mask::Mask;

fuzz/fuzz_targets/file_io.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ use itertools::Itertools;
88
use libfuzzer_sys::{Corpus, fuzz_target};
99
use vortex_array::arrays::ChunkedArray;
1010
use vortex_array::compute::{Operator, compare, filter};
11+
use vortex_array::expr::{lit, root};
1112
use vortex_array::{Array, Canonical, IntoArray, ToCanonical};
1213
use vortex_buffer::ByteBufferMut;
1314
use vortex_dtype::{DType, StructFields};
1415
use vortex_error::{VortexExpect, VortexUnwrap, vortex_panic};
15-
use vortex_expr::{lit, root};
1616
use vortex_file::{OpenOptionsSessionExt, WriteOptionsSessionExt, WriteStrategyBuilder};
1717
use vortex_fuzz::{CompressorStrategy, FuzzFileAction, RUNTIME, SESSION};
1818
use vortex_layout::layouts::compact::CompactCompressor;

vortex-array/src/expr/exprs/cast.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,11 @@ mod tests {
136136
use vortex_error::VortexUnwrap as _;
137137

138138
use super::cast;
139+
use crate::IntoArray;
139140
use crate::arrays::StructArray;
140141
use crate::expr::exprs::get_item::get_item;
141142
use crate::expr::exprs::root::root;
142-
use crate::expr::Expression;
143-
use crate::expr::test_harness;
144-
use crate::IntoArray;
143+
use crate::expr::{Expression, test_harness};
145144

146145
#[test]
147146
fn dtype() {

vortex-array/src/expr/exprs/is_null.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,10 @@ mod tests {
9999
use vortex_error::VortexUnwrap as _;
100100
use vortex_scalar::Scalar;
101101
use vortex_utils::aliases::hash_map::HashMap;
102+
use vortex_utils::aliases::hash_set::HashSet;
102103

103104
use super::is_null;
105+
use crate::IntoArray;
104106
use crate::arrays::{PrimitiveArray, StructArray};
105107
use crate::expr::exprs::binary::eq;
106108
use crate::expr::exprs::get_item::{col, get_item};
@@ -109,8 +111,6 @@ mod tests {
109111
use crate::expr::pruning::checked_pruning_expr;
110112
use crate::expr::test_harness;
111113
use crate::stats::Stat;
112-
use crate::IntoArray;
113-
use vortex_utils::aliases::hash_set::HashSet;
114114

115115
#[test]
116116
fn dtype() {

vortex-array/src/expr/exprs/list_contains.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,14 @@ impl ExpressionView<'_, ListContains> {
142142

143143
#[cfg(test)]
144144
mod tests {
145+
use std::sync::Arc;
146+
145147
use vortex_buffer::BitBuffer;
146148
use vortex_dtype::PType::I32;
147149
use vortex_dtype::{DType, Field, FieldPath, FieldPathSet, Nullability, StructFields};
148150
use vortex_scalar::Scalar;
149151
use vortex_utils::aliases::hash_map::HashMap;
152+
use vortex_utils::aliases::hash_set::HashSet;
150153

151154
use super::list_contains;
152155
use crate::arrays::{BoolArray, ListArray, PrimitiveArray};
@@ -158,8 +161,6 @@ mod tests {
158161
use crate::stats::Stat;
159162
use crate::validity::Validity;
160163
use crate::{Array, ArrayRef, IntoArray};
161-
use std::sync::Arc;
162-
use vortex_utils::aliases::hash_set::HashSet;
163164

164165
fn test_array() -> ArrayRef {
165166
ListArray::try_new(

vortex-array/src/expr/exprs/merge.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ mod tests {
194194

195195
use super::merge;
196196
use crate::arrays::{PrimitiveArray, StructArray};
197+
use crate::expr::Expression;
197198
use crate::expr::exprs::get_item::get_item;
198199
use crate::expr::exprs::merge::{DuplicateHandling, merge_opts};
199200
use crate::expr::exprs::root::root;
200-
use crate::expr::Expression;
201201
use crate::{Array, IntoArray, ToCanonical};
202202

203203
fn primitive_field(array: &dyn Array, field_path: &[&str]) -> VortexResult<PrimitiveArray> {

vortex-array/src/expr/exprs/not.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ mod tests {
8585
use vortex_dtype::{DType, Nullability};
8686

8787
use super::not;
88+
use crate::ToCanonical;
8889
use crate::arrays::BoolArray;
8990
use crate::expr::exprs::get_item::{col, get_item};
9091
use crate::expr::exprs::root::root;
9192
use crate::expr::test_harness;
92-
use crate::ToCanonical;
9393

9494
#[test]
9595
fn invert_booleans() {

vortex-array/src/expr/exprs/pack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ mod tests {
181181

182182
use super::{Pack, PackOptions, pack};
183183
use crate::arrays::{PrimitiveArray, StructArray};
184+
use crate::expr::VTableExt;
184185
use crate::expr::exprs::get_item::col;
185186
use crate::validity::Validity;
186187
use crate::vtable::ValidityHelper;
187-
use crate::expr::VTableExt;
188188
use crate::{Array, ArrayRef, IntoArray, ToCanonical};
189189

190190
fn test_array() -> ArrayRef {

vortex-array/src/expr/pruning/pruning_expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ mod tests {
107107
use vortex_dtype::{
108108
DType, FieldName, FieldNames, FieldPath, FieldPathSet, Nullability, StructFields,
109109
};
110+
use vortex_utils::aliases::hash_set::HashSet;
110111

111112
use super::HashMap;
112113
use crate::compute::{BetweenOptions, StrictComparison};
@@ -118,7 +119,6 @@ mod tests {
118119
use crate::expr::exprs::root::root;
119120
use crate::expr::pruning::{checked_pruning_expr, field_path_stat_field_name};
120121
use crate::stats::Stat;
121-
use vortex_utils::aliases::hash_set::HashSet;
122122

123123
// Implement some checked pruning expressions.
124124
#[fixture]

vortex-file/src/file.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ use std::sync::Arc;
1111

1212
use itertools::Itertools;
1313
use vortex_array::ArrayRef;
14+
use vortex_array::expr::Expression;
15+
use vortex_array::expr::pruning::checked_pruning_expr;
1416
use vortex_array::stats::StatsSet;
1517
use vortex_dtype::{DType, Field, FieldMask, FieldPath, FieldPathSet};
1618
use vortex_error::VortexResult;
17-
use vortex_expr::Expression;
18-
use vortex_expr::pruning::checked_pruning_expr;
1919
use vortex_layout::LayoutReader;
2020
use vortex_layout::segments::SegmentSource;
2121
use vortex_metrics::VortexMetrics;

0 commit comments

Comments
 (0)