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

[R] Handling unexpected input to time64() et al

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15.0
    • Component/s: R

      Description

      > time64()
      Error in Time64__initialize(unit) : 
        argument "unit" is missing, with no default
      > time64("ms")
      Error in Time64__initialize(unit) : 
        Not compatible with requested type: [type=character; target=integer].
      > time64(1)
      WARNING: Logging before InitGoogleLogging() is written to STDERR
      F0826 11:13:34.657388 162407872 type.cc:234]  Check failed: unit == TimeUnit::MICRO || unit == TimeUnit::NANO Must be microseconds or nanoseconds
      *** Check failure stack trace: ***
      Abort trap: 6
      
      > time64(1L)
      WARNING: Logging before InitGoogleLogging() is written to STDERR
      F0826 11:14:09.445202 251229632 type.cc:234]  Check failed: unit == TimeUnit::MICRO || unit == TimeUnit::NANO Must be microseconds or nanoseconds
      *** Check failure stack trace: ***
      Abort trap: 6
      
      > time64("MILLI")
      Error in Time64__initialize(unit) : 
        Not compatible with requested type: [type=character; target=integer].
      > time64(TimeUnit$MILLI)
      WARNING: Logging before InitGoogleLogging() is written to STDERR
      F0826 11:15:12.047847 361547200 type.cc:234]  Check failed: unit == TimeUnit::MICRO || unit == TimeUnit::NANO Must be microseconds or nanoseconds
      *** Check failure stack trace: ***
      Abort trap: 6
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                npr Neal Richardson
                Reporter:
                npr Neal Richardson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 1h 20m
                  1h 20m