Skip to content

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

Merged
blackmwk merged 1 commit into
apache:mainfrom
mattfaltyn:fix/hour-nanosecond-transform
Aug 20, 2026
Merged

blackmwk merged 1 commit into
apache:mainfrom
mattfaltyn:fix/hour-nanosecond-transform

Conversation

@mattfaltyn

Copy link
Copy Markdown
Contributor

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

@blackmwk blackmwk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mattfaltyn for this fix!

@blackmwk
blackmwk merged commit 48965dc into apache:main Aug 20, 2026
21 checks passed
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

2 participants