You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ad...@apache.org on 2015/09/20 02:23:38 UTC

[2/2] drill git commit: reverting a fix no longer needed after DRILL-3767

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 <ad...@gmail.com>
Authored: Fri Sep 11 14:51:52 2015 -0700
Committer: adeneche <ad...@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);
   }