Skip to content

COLUMN_ALREADY_EXISTS exception while reading using reconcile schema and schema on read #16372

Closed

Description

@hudi-bot

Github Issue - [https://github.com//issues/10533]

 

Reproducible Code - https://gist.github.com/ad1happy2go/db5813b8bd8d5f7142c2f9b0b2f29922

JIRA info

Activity

  1. added
    priority:critical
    type:bug
    area:reader
    on Nov 30, 2025
  2. added this to the release-1.1.0 milestone on Dec 1, 2025
  3. deepakpanda93 commented on Jul 1, 2026

    @deepakpanda93
    Collaborator

    It looked unfixed on 1.1.0: the relevant fix, #17776 ("Ignore duplicate fields when merging schema in IncrementalRelation"), shipped in 1.2.0, not 1.1.0. It addresses exactly this — when the Hudi meta-field skeleton schema is merged with a data schema that already contains those fields, you'd get COLUMN_ALREADY_EXISTS; the merge now ignores the duplicate fields. (HUDI-9597 [#13731], in 1.1.0, also reduced unnecessary schema evolution under reconcile.)

  4. rangareddy commented on Jul 6, 2026

    @rangareddy
    Collaborator

    This issue was reviewed as part of the JIRA-migrated backlog triage.

    Findings: This appears to be fixed by #17776 (merge commit 447af5a) in IncrementalRelationV1.scala / IncrementalRelationV2.scala. The fix filters Hudi meta fields out of the skeleton schema before merging it with the data schema, so duplicate hoodie* columns no longer trigger COLUMN_ALREADY_EXISTS. Shipped in 1.2.0.

    If you're still hitting this on a recent version, please reopen with repro steps.

    Closing as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:readerfrom-jirapriority:criticaltype:bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions