Skip to content

Commit 76552ca

Browse files
committed
Enable CI when PR targets non-develop branch
Signed-off-by: Nicholas Gates <[email protected]>
1 parent c1fdeda commit 76552ca

File tree

7 files changed

+52
-51
lines changed

7 files changed

+52
-51
lines changed

encodings/alp/src/alp/array.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,14 +475,16 @@ mod tests {
475475
use rstest::rstest;
476476
use vortex_array::VectorExecutor;
477477
use vortex_array::arrays::PrimitiveArray;
478+
use vortex_array::session::ArraySession;
478479
use vortex_array::vtable::ValidityHelper;
479480
use vortex_dtype::PTypeDowncast;
480481
use vortex_session::VortexSession;
481482
use vortex_vector::VectorOps;
482483

483484
use super::*;
484485

485-
static SESSION: LazyLock<VortexSession> = LazyLock::new(VortexSession::empty);
486+
static SESSION: LazyLock<VortexSession> =
487+
LazyLock::new(|| VortexSession::empty().with::<ArraySession>());
486488

487489
#[rstest]
488490
#[case(0)]

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ impl LayoutReader for FlatReader {
243243
// Filter the array based on the row mask.
244244
if !mask.all_true() {
245245
array = filter(&array, &mask)?;
246-
array = array.filter(&mask)?;
247246
}
248247

249248
// Evaluate the projection expression.

vortex-vector/src/bool/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
//! ## Extending and appending
99
//!
1010
//! ```
11-
//! use crate::bool::BoolVectorMut;
12-
//! use crate::VectorMutOps;
11+
//! use vortex_vector::bool::BoolVectorMut;
12+
//! use vortex_vector::VectorMutOps;
1313
//!
1414
//! let mut vec1 = BoolVectorMut::from_iter([true, false].map(Some));
1515
//! let vec2 = BoolVectorMut::from_iter([true, true].map(Some)).freeze();
@@ -26,8 +26,8 @@
2626
//! ## Splitting and unsplitting
2727
//!
2828
//! ```
29-
//! use crate::bool::BoolVectorMut;
30-
//! use crate::VectorMutOps;
29+
//! use vortex_vector::bool::BoolVectorMut;
30+
//! use vortex_vector::VectorMutOps;
3131
//!
3232
//! let mut vec = BoolVectorMut::from_iter([true, false, true, false, true].map(Some));
3333
//!
@@ -44,8 +44,8 @@
4444
//! ## Converting to immutable
4545
//!
4646
//! ```
47-
//! use crate::bool::BoolVectorMut;
48-
//! use crate::{VectorMutOps, VectorOps};
47+
//! use vortex_vector::bool::BoolVectorMut;
48+
//! use vortex_vector::{VectorMutOps, VectorOps};
4949
//!
5050
//! let mut vec = BoolVectorMut::from_iter([true, false, true].map(Some));
5151
//!

vortex-vector/src/decimal/mod.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
//! ## Creating and building decimal vectors
1616
//!
1717
//! ```
18-
//! use vortex_dtype::{PrecisionScale};
19-
//! use crate::decimal::{DVectorMut};
20-
//! use crate::VectorMutOps;
18+
//! use vortex_dtype::PrecisionScale;
19+
//! use vortex_vector::decimal::DVectorMut;
20+
//! use vortex_vector::VectorMutOps;
2121
//!
2222
//! // Create a decimal vector with precision=9, scale=2 (e.g., up to 9999999.99).
2323
//! let ps = PrecisionScale::<i32>::new(9, 2);
@@ -48,10 +48,10 @@
4848
//!
4949
//! ```
5050
//! use vortex_buffer::BufferMut;
51-
//! use vortex_dtype::{PrecisionScale};
51+
//! use vortex_dtype::PrecisionScale;
5252
//! use vortex_mask::MaskMut;
53-
//! use crate::decimal::DVectorMut;
54-
//! use crate::VectorMutOps;
53+
//! use vortex_vector::decimal::DVectorMut;
54+
//! use vortex_vector::VectorMutOps;
5555
//!
5656
//! // Create a decimal vector with nulls.
5757
//! let ps = PrecisionScale::<i32>::new(5, 2); // Up to 999.99.
@@ -78,9 +78,9 @@
7878
//! ## Extending and manipulating vectors
7979
//!
8080
//! ```
81-
//! use vortex_dtype::{PrecisionScale};
82-
//! use crate::decimal::DVectorMut;
83-
//! use crate::VectorMutOps;
81+
//! use vortex_dtype::PrecisionScale;
82+
//! use vortex_vector::decimal::DVectorMut;
83+
//! use vortex_vector::VectorMutOps;
8484
//!
8585
//! // Create two decimal vectors with scale=3 (3 decimal places).
8686
//! let ps = PrecisionScale::<i64>::new(10, 3);
@@ -114,9 +114,9 @@
114114
//! ## Converting between mutable and immutable
115115
//!
116116
//! ```
117-
//! use vortex_dtype::{PrecisionScale};
118-
//! use crate::decimal::DVectorMut;
119-
//! use crate::{VectorMutOps, VectorOps};
117+
//! use vortex_dtype::PrecisionScale;
118+
//! use vortex_vector::decimal::DVectorMut;
119+
//! use vortex_vector::{VectorMutOps, VectorOps};
120120
//!
121121
//! // Create a mutable decimal vector.
122122
//! let ps = PrecisionScale::<i128>::new(18, 6); // High precision with 6 decimal places.

vortex-vector/src/fixed_size_list/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
//! be null.
1212
//!
1313
//! ```
14-
//! use crate::fixed_size_list::FixedSizeListVectorMut;
15-
//! use crate::primitive::PVectorMut;
16-
//! use crate::{VectorMut, VectorMutOps};
14+
//! use vortex_vector::fixed_size_list::FixedSizeListVectorMut;
15+
//! use vortex_vector::primitive::PVectorMut;
16+
//! use vortex_vector::{VectorMut, VectorMutOps};
1717
//! use vortex_mask::{Mask, MaskMut};
1818
//!
1919
//! // Create elements with some null values.
@@ -48,9 +48,9 @@
4848
//! [`unsplit()`]: crate::VectorMutOps::unsplit
4949
//!
5050
//! ```
51-
//! use crate::fixed_size_list::FixedSizeListVectorMut;
52-
//! use crate::primitive::PVectorMut;
53-
//! use crate::{VectorMut, VectorMutOps};
51+
//! use vortex_vector::fixed_size_list::FixedSizeListVectorMut;
52+
//! use vortex_vector::primitive::PVectorMut;
53+
//! use vortex_vector::{VectorMut, VectorMutOps};
5454
//! use vortex_mask::MaskMut;
5555
//!
5656
//! // Create a vector with 6 lists, each containing 2 integers.

vortex-vector/src/primitive/mod.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
//! ## Creating and building a vector
1717
//!
1818
//! ```
19-
//! use crate::primitive::PVectorMut;
20-
//! use crate::VectorMutOps;
19+
//! use vortex_vector::primitive::PVectorMut;
20+
//! use vortex_vector::VectorMutOps;
2121
//!
2222
//! // Create with initial capacity for i32 values.
2323
//! let mut vec = PVectorMut::<i32>::with_capacity(10);
@@ -36,8 +36,8 @@
3636
//! ## Extending and appending
3737
//!
3838
//! ```
39-
//! use crate::primitive::PVectorMut;
40-
//! use crate::VectorMutOps;
39+
//! use vortex_vector::primitive::PVectorMut;
40+
//! use vortex_vector::VectorMutOps;
4141
//!
4242
//! let mut vec1 = PVectorMut::<i32>::from_iter([1, 2].map(Some));
4343
//! let vec2 = PVectorMut::<i32>::from_iter([3, 4].map(Some)).freeze();
@@ -54,8 +54,8 @@
5454
//! ## Splitting and unsplitting
5555
//!
5656
//! ```
57-
//! use crate::primitive::PVectorMut;
58-
//! use crate::VectorMutOps;
57+
//! use vortex_vector::primitive::PVectorMut;
58+
//! use vortex_vector::VectorMutOps;
5959
//!
6060
//! let mut vec = PVectorMut::<i64>::from_iter([10, 20, 30, 40, 50].map(Some));
6161
//!
@@ -72,8 +72,8 @@
7272
//! ## Working with nulls
7373
//!
7474
//! ```
75-
//! use crate::primitive::PVectorMut;
76-
//! use crate::VectorMutOps;
75+
//! use vortex_vector::primitive::PVectorMut;
76+
//! use vortex_vector::VectorMutOps;
7777
//!
7878
//! // Create a vector with some null values.
7979
//! let mut vec = PVectorMut::<u32>::from_iter([Some(100), None, Some(200), None]);
@@ -87,8 +87,8 @@
8787
//! ## Converting to immutable
8888
//!
8989
//! ```
90-
//! use crate::primitive::PVectorMut;
91-
//! use crate::{VectorMutOps, VectorOps};
90+
//! use vortex_vector::primitive::PVectorMut;
91+
//! use vortex_vector::{VectorMutOps, VectorOps};
9292
//!
9393
//! let mut vec = PVectorMut::<f32>::from_iter([1.0, 2.0, 3.0].map(Some));
9494
//!

vortex-vector/src/struct_/mod.rs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
//! ## Creating a [`StructVector`] and [`StructVectorMut`]
99
//!
1010
//! ```
11-
//! use crate::bool::BoolVectorMut;
12-
//! use crate::null::NullVectorMut;
13-
//! use crate::primitive::PVectorMut;
14-
//! use crate::struct_::StructVectorMut;
15-
//! use crate::{VectorMut, VectorMutOps};
11+
//! use vortex_vector::bool::BoolVectorMut;
12+
//! use vortex_vector::null::NullVectorMut;
13+
//! use vortex_vector::primitive::PVectorMut;
14+
//! use vortex_vector::struct_::StructVectorMut;
15+
//! use vortex_vector::{VectorMut, VectorMutOps};
1616
//! use vortex_mask::MaskMut;
1717
//!
1818
//! // Create a struct with three fields: nulls, booleans, and integers.
@@ -32,11 +32,11 @@
3232
//! [`unsplit()`]: crate::VectorMutOps::unsplit
3333
//!
3434
//! ```
35-
//! use crate::bool::BoolVectorMut;
36-
//! use crate::null::NullVectorMut;
37-
//! use crate::primitive::PVectorMut;
38-
//! use crate::struct_::StructVectorMut;
39-
//! use crate::{VectorMut, VectorMutOps};
35+
//! use vortex_vector::bool::BoolVectorMut;
36+
//! use vortex_vector::null::NullVectorMut;
37+
//! use vortex_vector::primitive::PVectorMut;
38+
//! use vortex_vector::struct_::StructVectorMut;
39+
//! use vortex_vector::{VectorMut, VectorMutOps};
4040
//! use vortex_mask::MaskMut;
4141
//!
4242
//! let fields = Box::new([
@@ -60,11 +60,11 @@
6060
//! ## Accessing field values
6161
//!
6262
//! ```
63-
//! use crate::bool::BoolVectorMut;
64-
//! use crate::null::NullVectorMut;
65-
//! use crate::primitive::PVectorMut;
66-
//! use crate::struct_::StructVectorMut;
67-
//! use crate::{VectorMut, VectorMutOps};
63+
//! use vortex_vector::bool::BoolVectorMut;
64+
//! use vortex_vector::null::NullVectorMut;
65+
//! use vortex_vector::primitive::PVectorMut;
66+
//! use vortex_vector::struct_::StructVectorMut;
67+
//! use vortex_vector::{VectorMut, VectorMutOps};
6868
//! use vortex_mask::MaskMut;
6969
//! use vortex_dtype::PTypeDowncast;
7070
//!

0 commit comments

Comments
 (0)