@@ -262,9 +262,9 @@ impl ExpressionView<'_, Binary> {
262262/// # use vortex_array::{Array, IntoArray, ToCanonical};
263263/// # use vortex_array::validity::Validity;
264264/// # use vortex_buffer::buffer;
265- /// # use vortex_expr::{eq, root, lit, Scope };
265+ /// # use vortex_expr::{eq, root, lit};
266266/// let xs = PrimitiveArray::new(buffer![1i32, 2i32, 3i32], Validity::NonNullable);
267- /// let result = eq(root(), lit(3)).evaluate(&Scope::new( xs.to_array() )).unwrap();
267+ /// let result = eq(root(), lit(3)).evaluate(&xs.to_array()).unwrap();
268268///
269269/// assert_eq!(
270270/// result.to_bool().bit_buffer(),
@@ -286,9 +286,9 @@ pub fn eq(lhs: Expression, rhs: Expression) -> Expression {
286286/// # use vortex_array::{IntoArray, ToCanonical};
287287/// # use vortex_array::validity::Validity;
288288/// # use vortex_buffer::buffer;
289- /// # use vortex_expr::{root, lit, not_eq, Scope };
289+ /// # use vortex_expr::{root, lit, not_eq};
290290/// let xs = PrimitiveArray::new(buffer![1i32, 2i32, 3i32], Validity::NonNullable);
291- /// let result = not_eq(root(), lit(3)).evaluate(&Scope::new( xs.to_array() )).unwrap();
291+ /// let result = not_eq(root(), lit(3)).evaluate(&xs.to_array()).unwrap();
292292///
293293/// assert_eq!(
294294/// result.to_bool().bit_buffer(),
@@ -310,9 +310,9 @@ pub fn not_eq(lhs: Expression, rhs: Expression) -> Expression {
310310/// # use vortex_array::{IntoArray, ToCanonical};
311311/// # use vortex_array::validity::Validity;
312312/// # use vortex_buffer::buffer;
313- /// # use vortex_expr::{gt_eq, root, lit, Scope };
313+ /// # use vortex_expr::{gt_eq, root, lit};
314314/// let xs = PrimitiveArray::new(buffer![1i32, 2i32, 3i32], Validity::NonNullable);
315- /// let result = gt_eq(root(), lit(3)).evaluate(&Scope::new( xs.to_array() )).unwrap();
315+ /// let result = gt_eq(root(), lit(3)).evaluate(&xs.to_array()).unwrap();
316316///
317317/// assert_eq!(
318318/// result.to_bool().bit_buffer(),
@@ -334,9 +334,9 @@ pub fn gt_eq(lhs: Expression, rhs: Expression) -> Expression {
334334/// # use vortex_array::{IntoArray, ToCanonical};
335335/// # use vortex_array::validity::Validity;
336336/// # use vortex_buffer::buffer;
337- /// # use vortex_expr::{gt, root, lit, Scope };
337+ /// # use vortex_expr::{gt, root, lit};
338338/// let xs = PrimitiveArray::new(buffer![1i32, 2i32, 3i32], Validity::NonNullable);
339- /// let result = gt(root(), lit(2)).evaluate(&Scope::new( xs.to_array() )).unwrap();
339+ /// let result = gt(root(), lit(2)).evaluate(&xs.to_array()).unwrap();
340340///
341341/// assert_eq!(
342342/// result.to_bool().bit_buffer(),
@@ -358,9 +358,9 @@ pub fn gt(lhs: Expression, rhs: Expression) -> Expression {
358358/// # use vortex_array::{IntoArray, ToCanonical};
359359/// # use vortex_array::validity::Validity;
360360/// # use vortex_buffer::buffer;
361- /// # use vortex_expr::{root, lit, lt_eq, Scope };
361+ /// # use vortex_expr::{root, lit, lt_eq};
362362/// let xs = PrimitiveArray::new(buffer![1i32, 2i32, 3i32], Validity::NonNullable);
363- /// let result = lt_eq(root(), lit(2)).evaluate(&Scope::new( xs.to_array() )).unwrap();
363+ /// let result = lt_eq(root(), lit(2)).evaluate(&xs.to_array()).unwrap();
364364///
365365/// assert_eq!(
366366/// result.to_bool().bit_buffer(),
@@ -382,9 +382,9 @@ pub fn lt_eq(lhs: Expression, rhs: Expression) -> Expression {
382382/// # use vortex_array::{IntoArray, ToCanonical};
383383/// # use vortex_array::validity::Validity;
384384/// # use vortex_buffer::buffer;
385- /// # use vortex_expr::{root, lit, lt, Scope };
385+ /// # use vortex_expr::{root, lit, lt};
386386/// let xs = PrimitiveArray::new(buffer![1i32, 2i32, 3i32], Validity::NonNullable);
387- /// let result = lt(root(), lit(3)).evaluate(&Scope::new( xs.to_array() )).unwrap();
387+ /// let result = lt(root(), lit(3)).evaluate(&xs.to_array()).unwrap();
388388///
389389/// assert_eq!(
390390/// result.to_bool().bit_buffer(),
@@ -404,9 +404,9 @@ pub fn lt(lhs: Expression, rhs: Expression) -> Expression {
404404/// ```
405405/// # use vortex_array::arrays::BoolArray;
406406/// # use vortex_array::{IntoArray, ToCanonical};
407- /// # use vortex_expr::{root, lit, or, Scope };
407+ /// # use vortex_expr::{root, lit, or};
408408/// let xs = BoolArray::from_iter(vec![true, false, true]);
409- /// let result = or(root(), lit(false)).evaluate(&Scope::new( xs.to_array() )).unwrap();
409+ /// let result = or(root(), lit(false)).evaluate(&xs.to_array()).unwrap();
410410///
411411/// assert_eq!(
412412/// result.to_bool().bit_buffer(),
@@ -438,9 +438,9 @@ where
438438/// ```
439439/// # use vortex_array::arrays::BoolArray;
440440/// # use vortex_array::{IntoArray, ToCanonical};
441- /// # use vortex_expr::{and, root, lit, Scope };
441+ /// # use vortex_expr::{and, root, lit};
442442/// let xs = BoolArray::from_iter(vec![true, false, true]);
443- /// let result = and(root(), lit(true)).evaluate(&Scope::new( xs.to_array() )).unwrap();
443+ /// let result = and(root(), lit(true)).evaluate(&xs.to_array()).unwrap();
444444///
445445/// assert_eq!(
446446/// result.to_bool().bit_buffer(),
@@ -483,10 +483,10 @@ where
483483/// # use vortex_array::IntoArray;
484484/// # use vortex_array::arrow::IntoArrowArray as _;
485485/// # use vortex_buffer::buffer;
486- /// # use vortex_expr::{Scope, checked_add, lit, root};
486+ /// # use vortex_expr::{checked_add, lit, root};
487487/// let xs = buffer![1, 2, 3].into_array();
488488/// let result = checked_add(root(), lit(5))
489- /// .evaluate(&Scope::new( xs.to_array() ))
489+ /// .evaluate(&xs.to_array())
490490/// .unwrap();
491491///
492492/// assert_eq!(
0 commit comments