You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Brian Hulette (JIRA)" <ji...@apache.org> on 2018/06/29 20:16:00 UTC

[jira] [Commented] (ARROW-2765) [JS] add Vector.map

    [ https://issues.apache.org/jira/browse/ARROW-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528181#comment-16528181 ] 

Brian Hulette commented on ARROW-2765:
--------------------------------------

To be consistent with JS typed arrays, I think {{Vector.map}} should return the same type as the source vector, and we can add {{Vector.from(source, f)}} to change types. What do you think of that [~paul.e.taylor]?

> [JS] add Vector.map
> -------------------
>
>                 Key: ARROW-2765
>                 URL: https://issues.apache.org/jira/browse/ARROW-2765
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: JavaScript
>            Reporter: Brian Hulette
>            Priority: Major
>             Fix For: JS-0.4.0
>
>
> Add {{Vector.map(f)}} that returns a new vector transformed with {{f}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)