Repository: incubator-hawq Updated Branches: refs/heads/HAWQ-992 a4f23c446 -> 546e5b8c8
HAWQ-992. Fixed message. Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/546e5b8c Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/546e5b8c Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/546e5b8c Branch: refs/heads/HAWQ-992 Commit: 546e5b8c8739d54b48f7149e282ecaa49f428f4e Parents: a4f23c4 Author: Oleksandr Diachenko <[email protected]> Authored: Mon Aug 29 17:54:06 2016 -0700 Committer: Oleksandr Diachenko <[email protected]> Committed: Mon Aug 29 17:54:06 2016 -0700 ---------------------------------------------------------------------- .../org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java | 2 +- .../apache/hawq/pxf/plugins/hive/utilities/HiveUtilitiesTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/546e5b8c/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java ---------------------------------------------------------------------- diff --git a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java index 8b90349..d046662 100644 --- a/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java +++ b/pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java @@ -312,7 +312,7 @@ public class HiveUtilities { if (!expectedHawqType.getDataType().equals(hawqDataType)) { throw new UnsupportedTypeException("Invalid definition for column " + hawqColumnName + ": expected HAWQ type " + expectedHawqType.getDataType() + - ", actual HAWQ type " + hawqDataType + ")"); + ", actual HAWQ type " + hawqDataType); } } } http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/546e5b8c/pxf/pxf-hive/src/test/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilitiesTest.java ---------------------------------------------------------------------- diff --git a/pxf/pxf-hive/src/test/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilitiesTest.java b/pxf/pxf-hive/src/test/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilitiesTest.java index f14d77d..92e439e 100644 --- a/pxf/pxf-hive/src/test/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilitiesTest.java +++ b/pxf/pxf-hive/src/test/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilitiesTest.java @@ -240,7 +240,7 @@ public class HiveUtilitiesTest { catch (UnsupportedTypeException e) { String errorMsg = "Invalid definition for column " + columnName + ": expected HAWQ type " + DataType.BOOLEAN - + ", actual HAWQ type " + DataType.NUMERIC + ")"; + + ", actual HAWQ type " + DataType.NUMERIC; assertEquals(errorMsg, e.getMessage()); } }
