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

Sonali totade commented on DATAFU-92:
-------------------------------------

I am in the process of implementing this UDF. I have doubt regarding the 3rd 
parameter. What type of optional value can be passed to this parameter? Can it 
be some tupple value like (q,2) or should it be always null?



> Create UDF to extract tuple out of bad 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
>
>   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)

Reply via email to