Return-Path: Delivered-To: apmail-hadoop-pig-dev-archive@www.apache.org Received: (qmail 43077 invoked from network); 31 Mar 2009 09:36:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Mar 2009 09:36:14 -0000 Received: (qmail 2412 invoked by uid 500); 31 Mar 2009 09:36:14 -0000 Delivered-To: apmail-hadoop-pig-dev-archive@hadoop.apache.org Received: (qmail 2383 invoked by uid 500); 31 Mar 2009 09:36:14 -0000 Mailing-List: contact pig-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@hadoop.apache.org Delivered-To: mailing list pig-dev@hadoop.apache.org Received: (qmail 2373 invoked by uid 99); 31 Mar 2009 09:36:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2009 09:36:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2009 09:36:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F00A9234C004 for ; Tue, 31 Mar 2009 02:35:50 -0700 (PDT) Message-ID: <1374767881.1238492150968.JavaMail.jira@brutus> Date: Tue, 31 Mar 2009 02:35:50 -0700 (PDT) From: "Ankur (JIRA)" To: pig-dev@hadoop.apache.org Subject: [jira] Commented: (PIG-732) Utility UDFs In-Reply-To: <262260299.1237974653725.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PIG-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694036#action_12694036 ] Ankur commented on PIG-732: --------------------------- Not sure why the core tests fail. The automated test output don't seem to suggest anything patch specific or may be I am unable to spot in the console output. > Utility UDFs > ------------- > > Key: PIG-732 > URL: https://issues.apache.org/jira/browse/PIG-732 > Project: Pig > Issue Type: New Feature > Reporter: Ankur > Priority: Minor > Attachments: udf.v1.patch, udf.v2.patch, udf.v3.patch > > > Two utility UDFs and their respective test cases. > 1. TopN - Accepts number of tuples (N) to retain in output, field number (type long) to use for comparison, and an sorted/unsorted bag of tuples. It outputs a bag containing top N tuples. > 2. SearchQuery - Accepts an encoded URL from any of the 4 search engines (Yahoo, Google, AOL, Live) and extracts and normalizes the search query present in it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.