tajo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jihoon...@apache.org
Subject tajo git commit: TAJO-1570: CatalogUtil newSimpleDataTypeArray should use newSimpleDataType.
Date Sun, 19 Apr 2015 12:12:44 GMT
Repository: tajo
Updated Branches:
  refs/heads/master 1f72d11f1 -> 1bceb0e11


TAJO-1570: CatalogUtil newSimpleDataTypeArray should use newSimpleDataType.

Closes #542

Signed-off-by: Jihoon Son <jihoonson@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/tajo/repo
Commit: http://git-wip-us.apache.org/repos/asf/tajo/commit/1bceb0e1
Tree: http://git-wip-us.apache.org/repos/asf/tajo/tree/1bceb0e1
Diff: http://git-wip-us.apache.org/repos/asf/tajo/diff/1bceb0e1

Branch: refs/heads/master
Commit: 1bceb0e11ae6626e0aa2a603fab984d16105c849
Parents: 1f72d11
Author: DaeMyung Kang <charsyam@naver.com>
Authored: Sun Apr 19 21:12:05 2015 +0900
Committer: Jihoon Son <jihoonson@apache.org>
Committed: Sun Apr 19 21:12:05 2015 +0900

----------------------------------------------------------------------
 CHANGES                                                           | 3 +++
 .../src/main/java/org/apache/tajo/catalog/CatalogUtil.java        | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tajo/blob/1bceb0e1/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 7d5cc3c..1763e22 100644
--- a/CHANGES
+++ b/CHANGES
@@ -22,6 +22,9 @@ Release 0.11.0 - unreleased
 
   IMPROVEMENT
 
+    TAJO-1570: CatalogUtil newSimpleDataTypeArray should use newSimpleDataType.
+    (Contributed by DaeMyung Kang, Committed by jihoon)
+
     TAJO-1442: Improve Hive Compatibility. (jaehwa)
 
     TAJO-1530: Display warn message when the query kill button is clicked in 

http://git-wip-us.apache.org/repos/asf/tajo/blob/1bceb0e1/tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
----------------------------------------------------------------------
diff --git a/tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
b/tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
index dcfad8d..dd41292 100644
--- a/tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
+++ b/tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
@@ -362,7 +362,7 @@ public class CatalogUtil {
   public static DataType [] newSimpleDataTypeArray(Type... types) {
     DataType [] dataTypes = new DataType[types.length];
     for (int i = 0; i < types.length; i++) {
-      dataTypes[i] = DataType.newBuilder().setType(types[i]).build();
+      dataTypes[i] = newSimpleDataType(types[i]);
     }
     return dataTypes;
   }


Mime
View raw message