You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2019/08/26 18:36:00 UTC

[jira] [Created] (ARROW-6364) [R] Handling unexpected input to time64() et al

Neal Richardson created ARROW-6364:
--------------------------------------

             Summary: [R] Handling unexpected input to time64() et al
                 Key: ARROW-6364
                 URL: https://issues.apache.org/jira/browse/ARROW-6364
             Project: Apache Arrow
          Issue Type: Bug
          Components: R
            Reporter: Neal Richardson
            Assignee: Neal Richardson
             Fix For: 0.15.0


{code:r}
> 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
{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)