Skip to content

Flink: Add column to position bug聽#16420

Closed

Description

@SteveStevenpoor

Apache Iceberg version

1.11.0 (latest release)

Query engine

Flink

Please describe the bug 馃悶

Problem

Currently if you try to add column to position through Flink engine, column will be added at the end of the table. The Spark engine works correctly for such operation. So we need a fix for Flink.

Fix

Add applyModifyColumnPosition if addColumn.getPosition() != null

Verification

  • Added testAlterTableAddColumnPosition() to TestFlinkCatalogTable

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions