Skip to content

Commit 8d28f51

Browse files
committed
Clarify docs in session accessors
Signed-off-by: Nicholas Gates <[email protected]>
1 parent 62a8844 commit 8d28f51

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ impl LayoutReader for FlatReader {
152152
// Apply the expression to the array.
153153
let array = array.apply(&expr)?;
154154

155-
log::debug!("Filter Array:\n{}", array.display_tree());
155+
tracing::debug!("Filter Array:\n{}", array.display_tree());
156156
let array = optimizer.optimize_array(&array)?;
157-
log::info!("Optimized Filter Array:\n{}", array.display_tree());
157+
tracing::info!("Optimized Filter Array:\n{}", array.display_tree());
158158

159159
// Evaluate the array into a mask.
160160
let array_mask = array.execute_mask(&session)?;
@@ -235,9 +235,9 @@ impl LayoutReader for FlatReader {
235235
array = array.filter(&mask)?;
236236
}
237237

238-
log::debug!("Project Array:\n{}", array.display_tree());
238+
tracing::debug!("Project Array:\n{}", array.display_tree());
239239
let array = optimizer.optimize_array(&array)?;
240-
log::info!("Optimized Project Array:\n{}", array.display_tree());
240+
tracing::info!("Optimized Project Array:\n{}", array.display_tree());
241241
array
242242
} else {
243243
// Filter the array based on the row mask.

vortex-vector/src/bool/vector.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ impl BoolVector {
7575
&self.bits
7676
}
7777

78+
/// Consumes the boolean vector and returns the bits buffer.
79+
pub fn into_bits(self) -> BitBuffer {
80+
self.bits
81+
}
82+
7883
/// Gets a nullable element at the given index, panicking on out-of-bounds.
7984
///
8085
/// If the element at the given index is null, returns `None`. Otherwise, returns `Some(x)`,

0 commit comments

Comments
 (0)