Skip to content

Docs: Fix reversed Flink binary/varbinary to Iceberg type mapping#17090

Open
thswlsqls wants to merge 1 commit into
apache:mainfrom
thswlsqls:fix/flink-binary-varbinary-type-reversed
Open

Docs: Fix reversed Flink binary/varbinary to Iceberg type mapping#17090
thswlsqls wants to merge 1 commit into
apache:mainfrom
thswlsqls:fix/flink-binary-varbinary-type-reversed

Conversation

@thswlsqls

Copy link
Copy Markdown
Contributor

Closes #17088

Summary

  • The "Flink to Iceberg" type mapping table listed binary -> binary and varbinary -> fixed, the exact opposite of what FlinkTypeToType.visit(BinaryType)/visit(VarBinaryType) actually produce (binary -> fixed, varbinary -> binary).
  • The reverse "Iceberg to Flink" table on the same page already documents this pairing correctly, so the two tables were self-contradictory.
  • Swapped the two table cells to match flink/v2.1/flink/src/main/java/org/apache/iceberg/flink/FlinkTypeToType.java line 85-91.

Testing done

  • Docs-only change, no behavior change — no test added. Verified by re-reading FlinkTypeToType.java/TypeToFlinkType.java and confirming the fix matches both.

The "Flink to Iceberg" type mapping table listed binary->binary and
varbinary->fixed, which is the exact opposite of what
FlinkTypeToType.visit(BinaryType)/visit(VarBinaryType) actually do
(binary->fixed, varbinary->binary). The reverse "Iceberg to Flink"
table on the same page already has the correct mapping.

Generated-by: Claude Code
@github-actions github-actions Bot added the docs label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Fix reversed Flink binary/varbinary to Iceberg type mapping

2 participants