LiaCastaneda commented on code in PR #16064:
URL: https://github.com/apache/datafusion/pull/16064#discussion_r2095138636
##########
datafusion/physical-plan/src/union.rs:
##########
@@ -532,9 +535,10 @@ fn union_schema(inputs: &[Arc<dyn ExecutionPlan>]) ->
SchemaRef {
field.with_metadata(metadata)
})
.find_or_first(Field::is_nullable)
- // We can unwrap this because if inputs was empty, this
would've already panic'ed when we
- // indexed into inputs[0].
Review Comment:
yep
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]