drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adene...@apache.org
Subject [2/2] drill git commit: reverting a fix no longer needed after DRILL-3767
Date Sun, 20 Sep 2015 00:23:38 GMT
reverting a fix no longer needed after DRILL-3767


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/1716cb08
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/1716cb08
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/1716cb08

Branch: refs/heads/master
Commit: 1716cb083f6c873e45b2745ce449fbf605d9d16c
Parents: 0ee6095
Author: adeneche <adeneche@gmail.com>
Authored: Fri Sep 11 14:51:52 2015 -0700
Committer: adeneche <adeneche@gmail.com>
Committed: Fri Sep 18 16:19:27 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/drill/exec/store/parquet/Metadata.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/1716cb08/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/Metadata.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/Metadata.java
b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/Metadata.java
index 02414a4..58f6d2a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/Metadata.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/Metadata.java
@@ -240,7 +240,7 @@ public class Metadata {
     if (type.isPrimitive()) {
       return type.getOriginalType();
     }
-    Type t = ((GroupType) type).getType(path[path.length - depth - 1]);
+    Type t = ((GroupType) type).getType(path[depth]);
     return getOriginalType(t, path, depth + 1);
   }
 


Mime
View raw message