Return-Path: Delivered-To: apmail-hadoop-pig-dev-archive@www.apache.org Received: (qmail 7197 invoked from network); 9 Jul 2009 20:20:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jul 2009 20:20:30 -0000 Received: (qmail 13103 invoked by uid 500); 9 Jul 2009 20:20:39 -0000 Delivered-To: apmail-hadoop-pig-dev-archive@hadoop.apache.org Received: (qmail 12857 invoked by uid 500); 9 Jul 2009 20:20:39 -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 12837 invoked by uid 99); 9 Jul 2009 20:20:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 20:20:39 +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; Thu, 09 Jul 2009 20:20:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E9C9829A0022 for ; Thu, 9 Jul 2009 13:20:14 -0700 (PDT) Message-ID: <1936854869.1247170814956.JavaMail.jira@brutus> Date: Thu, 9 Jul 2009 13:20:14 -0700 (PDT) From: "Daniel Dai (JIRA)" To: pig-dev@hadoop.apache.org Subject: [jira] Updated: (PIG-876) limit changes order of order-by to ascending In-Reply-To: <331529330.1247086034799.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-876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Dai updated PIG-876: --------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Patch committed > limit changes order of order-by to ascending > -------------------------------------------- > > Key: PIG-876 > URL: https://issues.apache.org/jira/browse/PIG-876 > Project: Pig > Issue Type: Bug > Affects Versions: 0.3.0 > Reporter: Thejas M Nair > Assignee: Daniel Dai > Fix For: 0.4.0 > > Attachments: PIG-876-1.patch > > > grunt> a = load 'students.txt' as (c1,c2,c3,c4); > grunt> s = order a by c1 desc; > grunt> dump s; > (zxldf,M,21,12.56) > (uhsdf,M,34,12.11) > (qwer,F,21,14.44) > (qwer,F,23,145.5) > (oiue,M,54,23.33) > (asdfxc,M,23,12.44) > grunt> l = limit s 3; > grunt> dump l; > (asdfxc,M,23,12.44) > (oiue,M,54,23.33) > (qwer,F,21,14.44) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.