Repository: tajo Updated Branches: refs/heads/branch-0.11.1 5f217cf8c -> 62fc9f8e7
TAJO-2066: Fix TestJoinOnPartitionedTables.testPartialFilterPushDown failure. Project: http://git-wip-us.apache.org/repos/asf/tajo/repo Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/62fc9f8e Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/62fc9f8e Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/62fc9f8e Branch: refs/heads/branch-0.11.1 Commit: 62fc9f8e7f83da490683b9a03463fc57752e3e28 Parents: 5f217cf Author: Jinho Kim <[email protected]> Authored: Thu Jan 28 18:11:06 2016 +0900 Committer: Jinho Kim <[email protected]> Committed: Thu Jan 28 18:11:06 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/62fc9f8e/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index 247f9ab..78dc0c2 100644 --- a/CHANGES +++ b/CHANGES @@ -51,6 +51,9 @@ Release 0.11.1 - unreleased BUG FIXES + TAJO-2066: Fix TestJoinOnPartitionedTables.testPartialFilterPushDown failure. + (jinho) + TAJO-1921: Hbase Storage can cause NPE when the hbase cluster is restarted. (Byunghwa Yun via hyunsik) http://git-wip-us.apache.org/repos/asf/tajo/blob/62fc9f8e/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 d2585a7..bb56434 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); }
