Skip to content

Commit

Permalink
make traversal module in vortex-expr public (#2104)
Browse files Browse the repository at this point in the history
  • Loading branch information
delta003 authored Jan 28, 2025
1 parent e81bd76 commit f17f32e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions vortex-expr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ mod pack;
pub mod pruning;
mod select;
pub mod transform;
#[allow(dead_code)]
mod traversal;
pub mod traversal;

pub use binary::*;
pub use get_item::*;
Expand Down
2 changes: 1 addition & 1 deletion vortex-expr/src/transform/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ pub mod field_mask;
pub mod immediate_access;
pub mod partition;
mod remove_merge;
pub(crate) mod remove_select;
mod remove_select;
pub mod simplify;
pub mod simplify_typed;
1 change: 1 addition & 0 deletions vortex-expr/src/traversal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ mod visitor;

use itertools::Itertools;
pub use references::ReferenceCollector;
pub use visitor::{pre_order_visit_down, pre_order_visit_up};
use vortex_error::VortexResult;

use crate::ExprRef;
Expand Down
1 change: 1 addition & 0 deletions vortex-expr/src/traversal/references.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use vortex_error::VortexResult;
use crate::traversal::{NodeVisitor, TraversalOrder};
use crate::{ExprRef, GetItem, Select};

#[derive(Default)]
pub struct ReferenceCollector {
fields: HashSet<FieldName>,
}
Expand Down

0 comments on commit f17f32e

Please sign in to comment.