You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datafu.apache.org by "Matthew Hayes (JIRA)" <ji...@apache.org> on 2015/07/13 19:58:04 UTC

[jira] [Commented] (DATAFU-92) Create UDF to extract tuple out of bag in a specified index

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

Matthew Hayes commented on DATAFU-92:
-------------------------------------

Can you create a ReviewBoard?  https://reviews.apache.org

Also can you add some unit tests.  You can probably base them off the FirstTupleFromBag unit tests.

> Create UDF to extract tuple out of bag in a specified index
> -----------------------------------------------------------
>
>                 Key: DATAFU-92
>                 URL: https://issues.apache.org/jira/browse/DATAFU-92
>             Project: DataFu
>          Issue Type: New Feature
>    Affects Versions: 1.3.0
>            Reporter: Zach Beniash
>              Labels: UDF
>             Fix For: 1.3.0
>
>         Attachments: DATAFU-92.patch, TupleFromBag.java
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Create a new UDF that is similar to "FirstTupleFromBag" but this one will be more general, and not only the first tuple.
> This new UDF can be called "TupleFromBag" and will get three parameters:
> 1. DataBag
> 2. Index
> 3. Optional Default Tuple
> There should be a consideration to refactor FirstTupleFromBag to call TupleFromBag, for reusability consideration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)