apache / apache/arrow-nanoarrow

[R] String notation of nanoarrow types

Open
#370 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
249
Forks
68
Avg merge
2d 21h
Merged PRs (30d)
11

Description

From https://github.com/pola-rs/r-polars/pull/730#issuecomment-1906192408

Data types of the `arrow` package can be converted to string notation.

```r
> arrow::int16()$ToString()
[1] "int16"
```

Since it is easier to filter string vectors using the `%in%` operator, it would be great if the nanoarrow data type also had a string representation that matched the `arrow` data type.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the nanoarrow data type conversion used by the R interface and compare its output with arrow::int16()$ToString(), which returns "int16". Done means nanoarrow data types expose string representations matching the arrow data type notation so they can be filtered with %in%.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.