Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13128

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.1
    • 5.0.0
    • C#

    Description

      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;
      

      Attachments

        Issue Links

          Activity

            People

              0x0L Xavier Lacroze
              0x0L Xavier Lacroze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m