hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hubertzh...@apache.org
Subject incubator-hawq git commit: HAWQ-505. Fix InputFormatError caused by GUC change.
Date Thu, 10 Mar 2016 01:52:49 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master e29e13345 -> 71911c1ce


HAWQ-505. Fix InputFormatError caused by GUC change.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/71911c1c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/71911c1c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/71911c1c

Branch: refs/heads/master
Commit: 71911c1ce05c9cea1ae694632c319d13da05b03f
Parents: e29e133
Author: hubertzhang <hzhang@pivotal.io>
Authored: Thu Mar 10 09:49:40 2016 +0800
Committer: hubertzhang <hzhang@pivotal.io>
Committed: Thu Mar 10 09:50:07 2016 +0800

----------------------------------------------------------------------
 .../test/java/com/pivotal/hawq/mapreduce/TPCHClusterTester.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/71911c1c/contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/java/com/pivotal/hawq/mapreduce/TPCHClusterTester.java
----------------------------------------------------------------------
diff --git a/contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/java/com/pivotal/hawq/mapreduce/TPCHClusterTester.java
b/contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/java/com/pivotal/hawq/mapreduce/TPCHClusterTester.java
index fdaed2e..130c53a 100644
--- a/contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/java/com/pivotal/hawq/mapreduce/TPCHClusterTester.java
+++ b/contrib/hawq-hadoop/hawq-mapreduce-tool/src/test/java/com/pivotal/hawq/mapreduce/TPCHClusterTester.java
@@ -64,8 +64,8 @@ public class TPCHClusterTester extends TPCHTester {
 
 			// 1. load TPCH data
 			Map<String, String> rs = HAWQJdbcUtils.executeSafeQueryForSingleRow(
-					conn, "SHOW default_segment_num;");
-			int segnum = Integer.parseInt(rs.get("default_segment_num"));
+					conn, "SHOW default_hash_table_bucket_number;");
+			int segnum = Integer.parseInt(rs.get("default_hash_table_bucket_number"));
 			MRFormatTestUtils.runShellCommand(tpchSpec.getLoadCmd(segnum));
 
 			// 2. generate answer


Mime
View raw message