Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69458970A for ; Wed, 14 Mar 2012 23:55:04 +0000 (UTC) Received: (qmail 53649 invoked by uid 500); 14 Mar 2012 23:55:04 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 53580 invoked by uid 500); 14 Mar 2012 23:55:04 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 53572 invoked by uid 500); 14 Mar 2012 23:55:04 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 53569 invoked by uid 99); 14 Mar 2012 23:55:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 23:55:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2012 23:55:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BE2D120E85 for ; Wed, 14 Mar 2012 23:54:40 +0000 (UTC) Date: Wed, 14 Mar 2012 23:54:40 +0000 (UTC) From: "Daniel Dai (Commented) (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <825915316.16702.1331769280780.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (PIG-1270) Push limit into loader 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-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229772#comment-13229772 ] Daniel Dai commented on PIG-1270: --------------------------------- Unit test pass. Plan to check it into 0.10, objection? > Push limit into loader > ---------------------- > > Key: PIG-1270 > URL: https://issues.apache.org/jira/browse/PIG-1270 > Project: Pig > Issue Type: Bug > Components: impl > Affects Versions: 0.7.0 > Reporter: Daniel Dai > Assignee: Daniel Dai > Fix For: 0.10 > > Attachments: PIG-1270-1.patch, PIG-1270-2.patch, PIG-1270-3.patch > > > We can optimize limit operation by stopping early in PigRecordReader. In general, we need a way to communicate between PigRecordReader and execution pipeline. POLimit could instruct PigRecordReader that we have already had enough records and stop feeding more data. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira