Skip to content

"Physical input schema should be the same as the one converted from logical input schema." error does not display metadata differences #19069

Closed

Description

@kallisti-dev

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:
#19049
#18337

Expected behavior

Error message should show metadata differences.

Additional context

No response

Activity

  1. added theissue type on Dec 3, 2025
  2. added a commit that references this issue on Dec 3, 2025
    d4820d1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions