You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nicola Crane (Jira)" <ji...@apache.org> on 2022/03/08 09:18:00 UTC

[jira] [Commented] (ARROW-15792) [R] Error when reading integer-type columns

    [ https://issues.apache.org/jira/browse/ARROW-15792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17502815#comment-17502815 ] 

Nicola Crane commented on ARROW-15792:
--------------------------------------

Hi [~pachamaltese] - I tried to replicate this using the package version 7.0.0 with your example above and was unable to replicate it.  Just to check - are you still having the same issue? I've tested with a recent nightly build and the Linux binary for 7.0.0 but everything just ran fine with them.  

> [R] Error when reading integer-type columns
> -------------------------------------------
>
>                 Key: ARROW-15792
>                 URL: https://issues.apache.org/jira/browse/ARROW-15792
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 7.0.0
>            Reporter: Mauricio 'Pachá' Vargas Sepúlveda
>            Priority: Major
>         Attachments: arrow-error.zip
>
>
> I was reading files that I created on the same laptop, same R version and Arrow version 7.0.0. The error I get when reading int32-type columns is
> {code:java}
> > source("~/github/un_escap/hs12-historic-series/00-create-historic-series.R")
> 2012
> Error in `handle_csv_read_error()`:
> ! NotImplemented: Function 'equal' has no kernel matching input types (array[int32], scalar[string])
> Run `rlang::last_error()` to see where the error occurred. {code}
> Here's a minimal example of the code that caused this
> {code:java}
> library(arrow)
> library(dplyr)
> d <- open_dataset("aggregate_level=0",
>                   partitioning = c("trade_flow", "year", "reporter_iso"))
> d %>%
>   select(reporter, reporter_code, reporter_iso) %>%
>   collect() {code}
> After going back to Arrow R package v6.0.2, it worked. Here "reporter_code" is numeric.
> I've attached a zip with the data.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)