Skip to content

fix: populate WriteTask.SortOrderID from table metadata #842

@laskoviymishka

Description

@laskoviymishka

Apache Iceberg version

main (development)

Please describe the bug 🐞

Parent: #829

WriteTask.SortOrderID at writer.go:41 is declared but never populated — it defaults to 0 at every construction site.

The Iceberg spec requires each data file's manifest entry to record which sort order was used (sort-order-id). DataFileBuilder.SortOrderID() already exists at manifest.go:2244.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions