hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Earl Cahill (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-487) extract a host from a url
Date Sat, 11 Oct 2008 04:42:46 GMT

     [ https://issues.apache.org/jira/browse/PIG-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Earl Cahill updated PIG-487:
----------------------------

    Attachment: HostExtractor-PIG-487

the PIG-486 was a cut and paste error

> extract a host from a url
> -------------------------
>
>                 Key: PIG-487
>                 URL: https://issues.apache.org/jira/browse/PIG-487
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Earl Cahill
>         Attachments: HostExtractor-PIG-487
>
>
> Want to be able to extract the host from a url.  For example,
> http://sports.espn.go.com/mlb/recap?gameId=281009122
> leads to
> sports.espn.go.com
> Pig latin usage looks like
> host = FOREACH row GENERATE org.apache.pig.piggybank.evaluation.util.apachelogparser.HostExtractor(url);

-- 
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