pub(crate) fn rewrite_field_exprs(&mut self, expr: Expr) -> DataFusionResult<Expr> {
        // Check for incompatible structures / patterns
        self.checker = expr.accept(self.checker.clone())?;

        // Actually rewrite the expression
        let expr = expr.rewrite(&mut FieldProjectionRewriterWrapper(self))?;

        // Ensure that there are no remaining _field references
        expr.accept(FieldRefFinder {})?;

        Ok(expr)
    }
// Rewrites the predicate, looking for _field predicates
Rewrites the predicate, looking for _field predicates
Rewrites the predicate looking for _field predicates
pub(crate) fn rewrite_field_exprs(&mut self, expr: Expr) -> DataFusionResult<Expr> {
        // Check for incompatible structures / patterns
        self.checker = expr.accept(self.checker.clone())?;
        // Actually rewrite the expression
        let expr = expr.rewrite(&mut FieldProjectionRewriterWrapper(self))?;
        // Ensure that there are no remaining _field references
        expr.accept(FieldRefFinder {})?;
        Ok(expr)
    }
pub ( crate ) fn rewrite_field_exprs ( & mut self , expr : Expr ) -> DataFusionResult < Expr > { // Check for incompatible structures / patterns self . checker = expr . accept ( self . checker . clone ( ) ) ? ; // Actually rewrite the expression let expr = expr . rewrite ( & mut FieldProjectionRewriterWrapper ( self ) ) ? ; // Ensure that there are no remaining _field references expr . accept ( FieldRefFinder { } ) ? ; Ok ( expr ) }
Rewrites the predicate, looking for _field predicates
Rewrites the predicate looking for _field predicates
&mut self
expr
Expr
&mut self
expr
Expr