Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill >> mail # dev >> [2/2] git commit: Drill 210 - incorrect record count reading from parquet file.


Copy link to this message
-
[2/2] git commit: Drill 210 - incorrect record count reading from parquet file.
Drill 210 - incorrect record count reading from parquet file.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/fef22041
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/fef22041
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/fef22041

Branch: refs/heads/master
Commit: fef22041b69fdc0fa3770e2cef747ebab8d9cde4
Parents: 60e2080
Author: Jason Altekruse <[EMAIL PROTECTED]>
Authored: Fri Sep 6 00:57:38 2013 -0500
Committer: Jacques Nadeau <[EMAIL PROTECTED]>
Committed: Thu Sep 5 23:01:28 2013 -0700

----------------------------------------------------------------------
 .../java/org/apache/drill/exec/store/parquet/PageReadStatus.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/fef22041/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/PageReadStatus.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/PageReadStatus.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/PageReadStatus.java
index 0d70138..dbc2206 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/PageReadStatus.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/PageReadStatus.java
@@ -120,6 +120,7 @@ public final class PageReadStatus {
       readPosInBytes = endOfDefinitionLevels;
     }
 
+    readPosInBytes = 0;
     valuesRead = 0;
     return true;
   }