[
https://issues.apache.org/jira/browse/ARROW-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-6364:
----------------------------------
Labels: pull-request-available (was: )
> [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
> Priority: Major
> Labels: pull-request-available
> 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)