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)

Reply via email to