Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datafusion-testing
9 changes: 9 additions & 0 deletions datafusion/expr/src/logical_plan/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2481,6 +2481,15 @@ pub struct Filter {
}

impl Filter {
/// Create a new filter operator.
///
/// Skips the type-checking and dealiasing done in [Self::try_new].
/// For internal use in DataFusion only.
#[doc(hidden)]
pub fn new_unchecked(predicate: Expr, input: Arc<LogicalPlan>) -> Self {
Self { predicate, input }
}

/// Create a new filter operator.
///
/// Notes: as Aliases have no effect on the output of a filter operator,
Expand Down
Loading
Loading