Skip to content

test: enumerate PyArrow primitive type mappings - #3919

Open
emecii wants to merge 1 commit into
apache:mainfrom
emecii:test/enumerate-pyarrow-type-mappings
Open

test: enumerate PyArrow primitive type mappings#3919
emecii wants to merge 1 commit into
apache:mainfrom
emecii:test/enumerate-pyarrow-type-mappings

Conversation

@emecii

@emecii emecii commented Sep 7, 2026

Copy link
Copy Markdown

Closes #3714

Rationale for this change

PyArrow-to-Iceberg conversion tests cover supported primitive types individually, but the expected PyArrow and Iceberg-spec Parquet physical mappings are not collected in one contract. This table-driven test covers the supported primitive mappings, including UUID, fixed binary, timestamp variants, and all three decimal physical-width bands.

Are these changes tested?

  • make test PYTEST_ARGS='-q' — 4,033 passed, 3 skipped, 1,571 integration-marked tests deselected by the project target.
  • Focused visitor suite — 77 passed.
  • Ruff, Ruff format, mypy, pydocstyle, codespell, and lockfile hooks passed.

make check-license could not run locally because no Java runtime is installed. This PR changes one existing test file and adds no source files.

Are there any user-facing changes?

No runtime behavior changes. The expanded regression contract protects type-conversion compatibility.

Generated-by: OpenAI Codex (GPT-6)
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.

add test to enumerate all pyarrow types

1 participant