Skip to content

fix(arrow-cast): fix incorrect conversion#9852

Merged
Jefffrey merged 1 commit into
apache:mainfrom
qube-rt:bboissinot/xxvxouqxpswt
May 1, 2026
Merged

fix(arrow-cast): fix incorrect conversion#9852
Jefffrey merged 1 commit into
apache:mainfrom
qube-rt:bboissinot/xxvxouqxpswt

Conversation

@bboissin
Copy link
Copy Markdown
Contributor

MICROSECONDS / NANOSECONDS = 0, this should be NANOSECONDS / MILLISECONDS.

Found with claude code audit.

Which issue does this PR close?

Rationale for this change

Bugfix, instead of multiplying by 0 we multiply by the correct factor.

MICROSECONDS / NANOSECONDS = 0, this should be NANOSECONDS / MILLISECONDS.

Found with claude code audit.
@github-actions github-actions Bot added the arrow Changes to the arrow crate label Apr 29, 2026
@Jefffrey Jefffrey merged commit fd86c75 into apache:main May 1, 2026
26 checks passed
@Jefffrey
Copy link
Copy Markdown
Contributor

Jefffrey commented May 1, 2026

Thanks @bboissin

@bboissin bboissin deleted the bboissinot/xxvxouqxpswt branch May 1, 2026 14:31
Rich-T-kid pushed a commit to Rich-T-kid/arrow-rs that referenced this pull request Jun 2, 2026
MICROSECONDS / NANOSECONDS = 0, this should be NANOSECONDS /
MILLISECONDS.

Found with claude code audit.

# Which issue does this PR close?

- Closes apache#9851 

# Rationale for this change

Bugfix, instead of multiplying by 0 we multiply by the correct factor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[arrow-cast] incorrect Time32 -> Time64 conversion

2 participants