You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2021/10/13 02:00:00 UTC
[jira] [Assigned] (ARROW-14228) [R] Allow for creation of nullable
fields
[ https://issues.apache.org/jira/browse/ARROW-14228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neal Richardson reassigned ARROW-14228:
---------------------------------------
Assignee: Matthew Peterson
> [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
> Assignee: Matthew Peterson
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 2h 40m
> 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)