Return-Path: X-Original-To: apmail-tajo-commits-archive@minotaur.apache.org Delivered-To: apmail-tajo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E5B4113F0 for ; Fri, 11 Jul 2014 12:58:53 +0000 (UTC) Received: (qmail 97550 invoked by uid 500); 11 Jul 2014 12:58:53 -0000 Delivered-To: apmail-tajo-commits-archive@tajo.apache.org Received: (qmail 97517 invoked by uid 500); 11 Jul 2014 12:58:53 -0000 Mailing-List: contact commits-help@tajo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.apache.org Delivered-To: mailing list commits@tajo.apache.org Received: (qmail 97508 invoked by uid 99); 11 Jul 2014 12:58:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2014 12:58:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E794D83C1E3; Fri, 11 Jul 2014 12:58:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hyunsik@apache.org To: commits@tajo.apache.org Message-Id: <5adbb5684b89439ba424ca32c1c3f35c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: Fixed a test failure by a non-deterministic query. Date: Fri, 11 Jul 2014 12:58:52 +0000 (UTC) Repository: tajo Updated Branches: refs/heads/master c87fe2e8c -> 9f873b129 Fixed a test failure by a non-deterministic query. Project: http://git-wip-us.apache.org/repos/asf/tajo/repo Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/9f873b12 Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/9f873b12 Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/9f873b12 Branch: refs/heads/master Commit: 9f873b129de3ac0fc8122528b7e10e46406704d1 Parents: c87fe2e Author: Hyunsik Choi Authored: Fri Jul 11 20:05:48 2014 +0900 Committer: Hyunsik Choi Committed: Fri Jul 11 20:05:48 2014 +0900 ---------------------------------------------------------------------- .../test/java/org/apache/tajo/engine/query/TestGroupByQuery.java | 2 +- .../queries/TestGroupByQuery/testGroupByWithConstantKeys2.sql | 2 +- .../results/TestGroupByQuery/testGroupByWithConstantKeys2.result | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tajo/blob/9f873b12/tajo-core/src/test/java/org/apache/tajo/engine/query/TestGroupByQuery.java ---------------------------------------------------------------------- diff --git a/tajo-core/src/test/java/org/apache/tajo/engine/query/TestGroupByQuery.java b/tajo-core/src/test/java/org/apache/tajo/engine/query/TestGroupByQuery.java index 935e520..41ffa06 100644 --- a/tajo-core/src/test/java/org/apache/tajo/engine/query/TestGroupByQuery.java +++ b/tajo-core/src/test/java/org/apache/tajo/engine/query/TestGroupByQuery.java @@ -149,7 +149,7 @@ public class TestGroupByQuery extends QueryTestCaseBase { @Test public final void testGroupByWithConstantKeys2() throws Exception { // select l_partkey as a, timestamp '2014-07-07 04:28:31.561' as b, '##' as c, count(*) d from lineitem - // group by a, b, c; + // group by a, b, c order by l_partkey; ResultSet res = executeQuery(); assertResultSet(res); cleanupQuery(res); http://git-wip-us.apache.org/repos/asf/tajo/blob/9f873b12/tajo-core/src/test/resources/queries/TestGroupByQuery/testGroupByWithConstantKeys2.sql ---------------------------------------------------------------------- diff --git a/tajo-core/src/test/resources/queries/TestGroupByQuery/testGroupByWithConstantKeys2.sql b/tajo-core/src/test/resources/queries/TestGroupByQuery/testGroupByWithConstantKeys2.sql index 439d049..5a2892d 100644 --- a/tajo-core/src/test/resources/queries/TestGroupByQuery/testGroupByWithConstantKeys2.sql +++ b/tajo-core/src/test/resources/queries/TestGroupByQuery/testGroupByWithConstantKeys2.sql @@ -1 +1 @@ -select l_partkey as a, timestamp '2014-07-07 04:28:31.561' as b, '##' as c, count(*) d from lineitem group by a, b, c; \ No newline at end of file +select l_partkey as a, timestamp '2014-07-07 04:28:31.561' as b, '##' as c, count(*) d from lineitem group by a, b, c order by l_partkey; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tajo/blob/9f873b12/tajo-core/src/test/resources/results/TestGroupByQuery/testGroupByWithConstantKeys2.result ---------------------------------------------------------------------- diff --git a/tajo-core/src/test/resources/results/TestGroupByQuery/testGroupByWithConstantKeys2.result b/tajo-core/src/test/resources/results/TestGroupByQuery/testGroupByWithConstantKeys2.result index e2a3b89..776db3c 100644 --- a/tajo-core/src/test/resources/results/TestGroupByQuery/testGroupByWithConstantKeys2.result +++ b/tajo-core/src/test/resources/results/TestGroupByQuery/testGroupByWithConstantKeys2.result @@ -1,5 +1,5 @@ a,b,c,d ------------------------------- -3,2014-07-07 04:28:31.561,##,1 1,2014-07-07 04:28:31.561,##,2 -2,2014-07-07 04:28:31.561,##,2 \ No newline at end of file +2,2014-07-07 04:28:31.561,##,2 +3,2014-07-07 04:28:31.561,##,1 \ No newline at end of file