You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/06/19 21:34:00 UTC
[jira] [Updated] (ARROW-13128) [C#] TimestampArray conversion logic
for nano and micro is wrong
[ https://issues.apache.org/jira/browse/ARROW-13128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-13128:
-----------------------------------
Labels: pull-request-available (was: )
> [C#] TimestampArray conversion logic for nano and micro is wrong
> ----------------------------------------------------------------
>
> Key: ARROW-13128
> URL: https://issues.apache.org/jira/browse/ARROW-13128
> Project: Apache Arrow
> Issue Type: Bug
> Components: C#
> Affects Versions: 4.0.1
> Reporter: Xavier Lacroze
> Assignee: Xavier Lacroze
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The logic in this line is looks wrong
> {code:c#}
> case TimeUnit.Microsecond:
> return ticks / TimeSpan.TicksPerMillisecond / 1000;
> {code}
> It should read
> {code:c#}
> case TimeUnit.Microsecond:
> return (ticks / TimeSpan.TicksPerMillisecond) * 1000;
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)