alamb commented on code in PR #6610:
URL: https://github.com/apache/arrow-datafusion/pull/6610#discussion_r1224201860
##########
datafusion/core/src/execution/context.rs:
##########
@@ -495,6 +495,7 @@ impl SessionContext {
}
let input = Arc::try_unwrap(input).unwrap_or_else(|e|
e.as_ref().clone());
+ let input = self.state().optimize(&input)?;
Review Comment:
That is important 👍
I wonder if there is any test we can add to cover this case and prevent a
regression?
--
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]