[
https://issues.apache.org/jira/browse/ARROW-14228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-14228:
-----------------------------------
Labels: pull-request-available (was: )
> [R] Allow for creation of nullable fields
> -----------------------------------------
>
> Key: ARROW-14228
> URL: https://issues.apache.org/jira/browse/ARROW-14228
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Matthew Peterson
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The current implementation of the Field class does not allow for the creation
> of nullable fields - nullable is hard-coded as TRUE.
>
> {{{{Field$create <- function(name, type, metadata) {}}}}
> {{ \{{ assert_that(inherits(name, "character"), length(name) == 1L)}}}}
> {{ \{{ type <- as_type(type, name)}}}}
> {{ \{{ assert_that(missing(metadata), msg = "metadata= is currently
> ignored")}}}}
> {{ {{ Field__initialize(enc2utf8(name), type, *TRUE*)}}}}
> {{ {{}}}}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)