chenkovsky opened a new pull request, #15603: URL: https://github.com/apache/datafusion/pull/15603
## Which issue does this PR close? - Closes #15394. ## Rationale for this change schema from inner physical plan is returned. ## What changes are included in this PR? update UnionExec and RecordBatchStreamAdapter to transform schema. I found that logical plan's nullability for Projection is also not correct after optimization, But this won't make the test fail. So I haven't included this part in this PR. Do we need to correct logical plan? ## Are these changes tested? UT ## Are there any user-facing changes? No -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org