Repository: incubator-hawq Updated Branches: refs/heads/HAWQ-992 507cd44ba -> 52bd1511d
HAWQ-992. Elaborated pull-request comments. Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/52bd1511 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/52bd1511 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/52bd1511 Branch: refs/heads/HAWQ-992 Commit: 52bd1511d647b97133c5ce2885c2e491eaaecd5e Parents: 507cd44 Author: Oleksandr Diachenko <[email protected]> Authored: Tue Sep 6 14:59:42 2016 -0700 Committer: Oleksandr Diachenko <[email protected]> Committed: Tue Sep 6 14:59:51 2016 -0700 ---------------------------------------------------------------------- .../hawq/pxf/api/utilities/ColumnDescriptor.java | 2 +- .../pxf/plugins/hive/utilities/HiveUtilities.java | 16 ++-------------- 2 files changed, 3 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/52bd1511/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ColumnDescriptor.java ---------------------------------------------------------------------- diff --git a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ColumnDescriptor.java b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ColumnDescriptor.java index 5c764c8..a2bc8fe 100644 --- a/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ColumnDescriptor.java +++ b/pxf/pxf-api/src/main/java/org/apache/hawq/pxf/api/utilities/ColumnDescriptor.java @@ -26,7 +26,7 @@ package org.apache.hawq.pxf.api.utilities; */ public class ColumnDescriptor { - int dbColumnTypeCode; + int dbColumnTypeCode; String dbColumnName; String dbColumnTypeName; int dbColumnIndex; http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/52bd1511/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 c0da58b..469ecbf 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 @@ -260,20 +260,8 @@ public class HiveUtilities { /** - * Converts HAWQ type to hive type. The supported mappings are:<ul> - * <li>{@code BOOLEAN -> boolean}</li> - * <li>{@code SMALLINT -> smallint (tinyint is converted to smallint)}</li> - * <li>{@code BIGINT -> bigint}</li> - * <li>{@code TIMESTAMP -> timestamp}</li> - * <li>{@code NUMERIC -> decimal}</li> - * <li>{@code BYTEA -> binary}</li> - * <li>{@code INTERGER -> int}</li> - * <li>{@code TEXT -> string}</li> - * <li>{@code REAL -> float}</li> - * <li>{@code FLOAT8 -> double}</li> - * </ul> - * All other types (both in HAWQ and in HIVE) are not supported. - * + * Converts HAWQ type to hive type. + * @see EnumHiveToHawqType For supported mappings * @param type HAWQ data type * @param name field name * @return Hive type
