Skip to content

[arrow] Fix Arrow to Paimon vector conversion casts#8138

Open
luoyuxia wants to merge 1 commit into
apache:masterfrom
luoyuxia:fix-arrow-vector-converter-8134
Open

[arrow] Fix Arrow to Paimon vector conversion casts#8138
luoyuxia wants to merge 1 commit into
apache:masterfrom
luoyuxia:fix-arrow-vector-converter-8134

Conversation

@luoyuxia
Copy link
Copy Markdown
Contributor

@luoyuxia luoyuxia commented Jun 5, 2026

Purpose

Fixes #8134.

This fixes Arrow2PaimonVectorConverter for Arrow vectors whose runtime type does not match the previous narrow casts:

  • support TimeSecVector, TimeMicroVector, and TimeNanoVector for TimeType, converting values to Paimon's millisecond representation.
  • support FixedSizeBinaryVector for BinaryType, while preserving VarBinaryVector compatibility.

Tests

  • mvn -pl paimon-arrow -Pfast-build -Dtest=ArrowFormatWriterTest#testArrowBundleRecordsWithTimeAndFixedBinaryVectors test
  • mvn -pl paimon-arrow -Dtest=ArrowFormatWriterTest#testArrowBundleRecordsWithTimeAndFixedBinaryVectors test

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Arrow2PaimonVectorConverter has ClassCastException for timestamp, time, and binary type conversions

1 participant