You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Amol Umbarkar (Jira)" <ji...@apache.org> on 2020/04/23 06:15:00 UTC

[jira] [Issue Comment Deleted] (ARROW-8563) Minor change to make newBuilder public

     [ https://issues.apache.org/jira/browse/ARROW-8563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amol Umbarkar updated ARROW-8563:
---------------------------------
    Comment: was deleted

(was: Submitted a pull request #7014)

> Minor change to make newBuilder public
> --------------------------------------
>
>                 Key: ARROW-8563
>                 URL: https://issues.apache.org/jira/browse/ARROW-8563
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Go
>            Reporter: Amol Umbarkar
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)