Skip to content

Conversation

@geruh
Copy link
Contributor

@geruh geruh commented Jan 19, 2026

Rationale for this change

This PR removes an extra 0 from the nanos_to_hours conversion method which resulted in incorrect partitioning. Found this while testing out the V3 TimestampNanoType and partitioning.

Are these changes tested?

Yes, I added some tests from the java side to ensure we align.

Are there any user-facing changes?

No

Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

wow i had to do a double take on those 0s

Thanks!

@kevinjqliu kevinjqliu merged commit 93554a4 into apache:main Jan 19, 2026
10 checks passed
@geruh geruh deleted the nanos branch January 20, 2026 06:39
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.

2 participants