tustvold opened a new issue, #4693:
URL: https://github.com/apache/arrow-datafusion/issues/4693

   **Describe the bug**
   
   `PruningPredicate::try_new` creates its own `ExecutionProps::new` which 
captures `Utc::now` as the current time, this may differ from what the rest of 
the plan was evaluated against, yielding incorrect results
   
   **To Reproduce**
   
   **Expected behavior**
   
   `PruningPredicate` should evaluate its expressions in the same context as 
normal query evaluation
   
   **Additional context**
   
   #4629 tracks making ExecutionProps a trait
   #4617 is the broader issue around state mutability and inheritance
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to