hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-868) indexof / lastindexof / lower / replace / substring udf's
Date Tue, 30 Jun 2009 16:10:47 GMT

    [ https://issues.apache.org/jira/browse/PIG-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725681#action_12725681
] 

Olga Natkovich commented on PIG-868:
------------------------------------

patch committed. Thanks, Bennie for contributing!

I did not commit the DateExtractor patch. I need to look into it some more but it is clearly
unrelated to your contribution

> indexof / lastindexof / lower / replace / substring udf's
> ---------------------------------------------------------
>
>                 Key: PIG-868
>                 URL: https://issues.apache.org/jira/browse/PIG-868
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Bennie Schut
>            Priority: Trivial
>         Attachments: addSomeUDFsPatch.patch, dateExtractorPatch.patch
>
>
> We parse some apache logs using pig and are using some pretty simple udf's like this:
> B = FOREACH A GENERATE substring(uri, lastindexof(uri, '/')+1, indexof(uri, '.txt'))
as lang;
> It's pretty simple stuff but I figured someone else might find it useful.

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


Mime
View raw message