You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Matthew Peterson (Jira)" <ji...@apache.org> on 2021/10/05 15:00:00 UTC

[jira] [Created] (ARROW-14228) [R] Allow for creation of nullable fields

Matthew Peterson created ARROW-14228:
----------------------------------------

             Summary: [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


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)