hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odiache...@apache.org
Subject incubator-hawq git commit: HAWQ-992. Updated validation for text types.
Date Wed, 31 Aug 2016 01:42:45 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/HAWQ-992 8847c4713 -> 6f1668f62


HAWQ-992. Updated validation for text types.


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

Branch: refs/heads/HAWQ-992
Commit: 6f1668f62e32030ee2fe73d89f93244fc8a7bf6b
Parents: 8847c47
Author: Oleksandr Diachenko <odiachenko@pivotal.io>
Authored: Tue Aug 30 18:42:41 2016 -0700
Committer: Oleksandr Diachenko <odiachenko@pivotal.io>
Committed: Tue Aug 30 18:42:41 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hawq/pxf/api/utilities/EnumHawqType.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/6f1668f6/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/EnumHawqType.java
----------------------------------------------------------------------
diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/EnumHawqType.java
b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/EnumHawqType.java
index df5c54f..f464028 100644
--- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/EnumHawqType.java
+++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/EnumHawqType.java
@@ -58,6 +58,7 @@ public enum EnumHawqType {
     BoolType("bool", DataType.BOOLEAN),
     NumericType("numeric", DataType.NUMERIC, (byte) 2, false),
     BpcharType("bpchar", DataType.BPCHAR, (byte) 1, false),
+    //modifier is mandatory for this type because by default it's 1
     CharType("char", DataType.CHAR, (byte) 1, true);
 
     private DataType dataType;


Mime
View raw message