Repository: tajo Updated Branches: refs/heads/master a3b347f99 -> 6debe7f8a
TAJO-2066: Fix TestJoinOnPartitionedTables.testPartialFilterPushDown failure. Closes #951 Project: http://git-wip-us.apache.org/repos/asf/tajo/repo Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/6debe7f8 Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/6debe7f8 Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/6debe7f8 Branch: refs/heads/master Commit: 6debe7f8a292374f06861c7464a1dab20aa088d6 Parents: a3b347f Author: Jinho Kim <[email protected]> Authored: Thu Jan 28 18:09:01 2016 +0900 Committer: Jinho Kim <[email protected]> Committed: Thu Jan 28 18:09:01 2016 +0900 ---------------------------------------------------------------------- CHANGES | 3 +++ .../apache/tajo/engine/query/TestJoinOnPartitionedTables.java | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tajo/blob/6debe7f8/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index 35f09f9..11fabf1 100644 --- a/CHANGES +++ b/CHANGES @@ -102,6 +102,9 @@ Release 0.12.0 - unreleased BUG FIXES + TAJO-2066: Fix TestJoinOnPartitionedTables.testPartialFilterPushDown failure. + (jinho) + TAJO-2062: Fix TestQueryResult#testTemporalResultOnClose failure. (jinho) TAJO-1921: Hbase Storage can cause NPE when the hbase cluster is restarted. http://git-wip-us.apache.org/repos/asf/tajo/blob/6debe7f8/tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestJoinOnPartitionedTables.java ---------------------------------------------------------------------- diff --git a/tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestJoinOnPartitionedTables.java b/tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestJoinOnPartitionedTables.java index 1db1f77..0d110d1 100644 --- a/tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestJoinOnPartitionedTables.java +++ b/tajo-core-tests/src/test/java/org/apache/tajo/engine/query/TestJoinOnPartitionedTables.java @@ -57,13 +57,14 @@ public class TestJoinOnPartitionedTables extends TestJoinQuery { @BeforeClass public static void setup() throws Exception { TestJoinQuery.setup(); - client.executeQuery("CREATE TABLE if not exists customer_parts " + + client.executeQueryAndGetResult("CREATE TABLE if not exists customer_parts " + "(c_custkey INT4, c_name TEXT, c_address TEXT, c_phone TEXT, c_acctbal FLOAT8, c_mktsegment TEXT, c_comment TEXT) " + "PARTITION BY COLUMN (c_nationkey INT4) as " + - "SELECT c_custkey, c_name, c_address, c_phone, c_acctbal, c_mktsegment, c_comment, c_nationkey FROM customer;"); + "SELECT c_custkey, c_name, c_address, c_phone, c_acctbal, c_mktsegment, c_comment, c_nationkey FROM customer;") + .close(); client.executeQueryAndGetResult("create table if not exists nation_partitioned (n_name text) " + "partition by column(n_nationkey int4, n_regionkey int4) " + - "as select n_name, n_nationkey, n_regionkey from nation"); + "as select n_name, n_nationkey, n_regionkey from nation").close(); addEmptyDataFile("nation_partitioned", true); }
