erratic-pattern opened a new issue, #19069: URL: https://github.com/apache/datafusion/issues/19069
### Describe the bug When logical and physical schema metadata mismatch, the error message does not show the metadata differences. Example: ``` Error while planning query: Internal error: Physical input schema should be the same as the one converted from logical input schema. Differences: . ``` The `Differences: .` is confusing because it does not show any differences. ### To Reproduce Execute a query on a parquet file with metadata and skip_metadata = false where the physical/logical metadata do not match. Examples of issues with reproducers: https://github.com/apache/datafusion/issues/19049 https://github.com/apache/datafusion/issues/18337 ### Expected behavior Error message should show metadata differences. ### Additional context _No response_ -- 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]
