You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Xavier Lacroze (Jira)" <ji...@apache.org> on 2021/06/19 21:33:00 UTC

[jira] [Created] (ARROW-13128) [C#] TimestampArray conversion logic for nano and micro is wrong

Xavier Lacroze created ARROW-13128:
--------------------------------------

             Summary: [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


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)