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

[Go] Minor change to make newBuilder public

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • Go

    Description

      This minor change makes newBuilder() public to reduce verbosity for downstream.

      To give you example, I am working on a parquet read / write into Arrow Record batch where the parquet data types are mapped to Arrow data types.
      My Repo: https://github.com/mindhash/arrow-parquet-go

      In such cases, it will be nice to have a builder API (newBuilder) be generic to accept a data type and return a respective array. 

      I am looking at a similar situation for JSON reader. I think this change will make the builder API much easier for upstream as well as internal packages.

      Attachments

        Issue Links

          Activity

            People

              mindhash Amol Umbarkar
              mindhash Amol Umbarkar
              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 - 20m
                  20m