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 C5F7ED223 for ; Tue, 23 Oct 2012 02:52:14 +0000 (UTC) Received: (qmail 31871 invoked by uid 500); 23 Oct 2012 02:52:14 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 31555 invoked by uid 500); 23 Oct 2012 02:52:14 -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 31514 invoked by uid 500); 23 Oct 2012 02:52:13 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 31500 invoked by uid 99); 23 Oct 2012 02:52:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 02:52:12 +0000 Date: Tue, 23 Oct 2012 02:52:12 +0000 (UTC) From: "Cheolsoo Park (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <2094625656.14401.1350960732965.JavaMail.jiratomcat@arcas> In-Reply-To: <45348966.47435.1350334864858.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (PIG-2975) TestTypedMap.testOrderBy failing with incorrect result MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PIG-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482072#comment-13482072 ] Cheolsoo Park commented on PIG-2975: ------------------------------------ Thank you Koji! Now I am running all the tests with your fix and going to close jiras as soon as I verify that they are fixed. > TestTypedMap.testOrderBy failing with incorrect result > ------------------------------------------------------- > > Key: PIG-2975 > URL: https://issues.apache.org/jira/browse/PIG-2975 > Project: Pig > Issue Type: Sub-task > Affects Versions: 0.11 > Reporter: Koji Noguchi > Assignee: Koji Noguchi > Priority: Blocker > Fix For: 0.11 > > Attachments: PIG-2975-0_jco.patch, PIG-2975-0_jco-v2.patch, pig-2975-trunk_v01.txt, pig-2975-trunk_v02-broken.txt, pig-2975-trunk_v03-unionapproach.txt, pig-2975-trunk_v04-purerawcompare.txt, pig-2975-trunk_v05-BinInterSedesRawComparatorAndlightweight-withouttest.txt, pig-2975-trunk_v05-BinInterSedesRawComparatorAndlightweight-withtest2.txt, pig-2975-trunk_v05-BinInterSedesRawComparatorAndlightweight-withtest.txt > > > Looked at > {noformat} > junit.framework.AssertionFailedError > at org.apache.pig.test.TestTypedMap.testOrderBy(TestTypedMap.java:352) > {noformat} > This looks like a valid test case failing with incorrect result. > {noformat} > % cat test/orderby.txt > [key#1,key9#23] > [key#3,key3#2] > [key#22] > % cat test/orderby.pig > a = load 'test/orderby.txt' as (m:[]); > b = foreach a generate m#'key' as b0; > dump b; > c = order b by b0; > dump c; > % java ... org.apache.pig.Main -x local test/orderby.pig > [dump b] > (1) > (3) > (22) > ... > [dump c] > (1) > (1) > (22) > % > where did the '(3)' go? > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira