alamb commented on code in PR #7637:
URL: https://github.com/apache/arrow-datafusion/pull/7637#discussion_r1336379786


##########
datafusion/core/src/execution/context.rs:
##########
@@ -534,6 +534,13 @@ impl SessionContext {
                 let physical = DataFrame::new(self.state(), input);
 
                 let batches: Vec<_> = physical.collect_partitioned().await?;
+                let schema = {

Review Comment:
   I agree `input.schema()` should be fixed (in the sense that in the 
`RecordBatch`es produced don't match the schema declared) that is the root 
cause of the issue 
   
   Perhaps this is related to 
https://github.com/apache/arrow-datafusion/issues/7636 that you filed 



-- 
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