Skip to content

[C#] TimestampArray conversion logic for nano and micro is wrong #28829

@asfimport

Description

@asfimport

The logic in this line looks wrong

case TimeUnit.Microsecond:
    return ticks / TimeSpan.TicksPerMillisecond / 1000;

It should read

case TimeUnit.Microsecond:
    return (ticks / TimeSpan.TicksPerMillisecond) * 1000;

Reporter: Xavier Lacroze / @0x0L
Assignee: Xavier Lacroze / @0x0L

PRs and other links:

Note: This issue was originally created as ARROW-13128. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions