Skip to content

fix(transform): support hour transform for nanosecond arrays - #3026

Open
mattfaltyn wants to merge 1 commit into
apache:mainfrom
mattfaltyn:fix/hour-nanosecond-transform
Open

fix(transform): support hour transform for nanosecond arrays#3026
mattfaltyn wants to merge 1 commit into
apache:mainfrom
mattfaltyn:fix/hour-nanosecond-transform

Conversation

@mattfaltyn

Copy link
Copy Markdown

Which issue does this PR close?

What changes are included in this PR?

  • Accept Arrow nanosecond timestamp arrays in the hour transform using the existing nanosecond conversion helper.
  • Add regression coverage for timestamp_ns and timestamptz_ns arrays, including a pre-epoch value.

Are these changes tested?

  • cargo test -p iceberg transform::temporal::test::test_transform_hours --lib
  • make check
  • make unit-test
  • ICEBERG_TEST_HMS_ENDPOINT=127.0.0.1:9083 cargo nextest run --all-targets --all-features --workspace --no-fail-fast --test-threads 1 (2,067 passed, 0 skipped)

AI Disclosure

Codex assisted with repository inspection, duplicate issue/PR searches, test scaffolding, implementation, validation, and drafting this PR. I reviewed the complete diff and verified the behavior and tests end to end.

@mattfaltyn
mattfaltyn marked this pull request as ready for review August 19, 2026 11:02
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.

Hour transform rejects Arrow nanosecond timestamp arrays

1 participant