apache / apache/arrow

[R] R to Arrow to R roundtrip adds a `ptype` column attribute to list columns

Open
#15,248 0 comments 0 reactions 1 assignee Claimed by @thisisnic View on GitHub
Component: R Priority: Medium Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

```r
> df <- data.frame(a=1:2, b=I(list(list("a","b"), list("ab","bc","cd","de"))))
> arrow::write_feather(df,"df")
> df2 <- arrow::read_feather("df")
> attributes(df$b)
$class
[1] "AsIs"

> attributes(df2$b)
$class
[1] "AsIs"

$ptype
[0]>
```

### Component(s)

R

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.