Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14228

[R] Allow for creation of nullable fields

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.0.0
    • R

    Description

      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)}}}}
      {{ }}}

      Attachments

        Issue Links

          Activity

            People

              mpeterson-p4 Matthew Peterson
              mpeterson-p4 Matthew Peterson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4.5h
                  4.5h