Daniel Dai updated PIG-885:

    Attachment: PIG-885-6.patch

New patch addresses most of problems in the comments except for these two:
(1) LookupInFile takes arbitrary number input files. It cannot be put into 
define. There is a single file version called INSETFROMFILE already in internal 
piggybank. It makes use of construct via define
(6) Second input parameter of HashFNV is optional, so we cannot specify input 
schema using the existing mechanism.

> New UDFs for piggybank (Bin, Decode, LookupInFiles, RegexExtract, RegexMatch, 
> HashFVN, DiffDate)
> ------------------------------------------------------------------------------------------------
>                 Key: PIG-885
>                 URL: https://issues.apache.org/jira/browse/PIG-885
>             Project: Pig
>          Issue Type: New Feature
>    Affects Versions: 0.3.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>            Priority: Minor
>             Fix For: 0.4.0
>         Attachments: PIG-885-2.patch, PIG-885-3.patch, PIG-885-4.patch, 
> PIG-885-5.patch, PIG-885-6.patch, PIG-885.patch
> Bunch of UDFs:
> 1. Bin -- Converts a continuous value into discrete values
> 2. Decode -- Converts a given attribute or expression into another string 
> value, based on the value of the source attribute
> 3. LookupInFiles -- Check for the existence of an expression in a serial of 
> text files
> 4. RegexExtract and RegexMatch -- Similar to perl regexes
> 5. HashFNV -- An implementation of FNV hash
> 6. DiffDate -- Caculate the number of days in between

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to