orc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject orc git commit: Pushing changes to production.
Date Thu, 13 Apr 2017 21:13:02 GMT
Repository: orc
Updated Branches:
  refs/heads/asf-site 802347b99 -> 20d4e29b9


Pushing changes to production.

Signed-off-by: Owen O'Malley <omalley@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/orc/repo
Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/20d4e29b
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/20d4e29b
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/20d4e29b

Branch: refs/heads/asf-site
Commit: 20d4e29b921520d7b904bc8b035dc6677a8b78a3
Parents: 802347b
Author: Owen O'Malley <omalley@apache.org>
Authored: Thu Apr 13 14:12:43 2017 -0700
Committer: Owen O'Malley <omalley@apache.org>
Committed: Thu Apr 13 14:12:43 2017 -0700

----------------------------------------------------------------------
 docs/core-java.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/orc/blob/20d4e29b/docs/core-java.html
----------------------------------------------------------------------
diff --git a/docs/core-java.html b/docs/core-java.html
index 609e9b3..bc13b0c 100644
--- a/docs/core-java.html
+++ b/docs/core-java.html
@@ -1301,7 +1301,7 @@ handles the map columns and represents the data as two arrays of
 integers for the offset and lengths and two <code>ColumnVector</code>s for the
 keys and values.</p>
 
-<pre><code class="language-java">public class ListColumnVector extends ColumnVector
{
+<pre><code class="language-java">public class MapColumnVector extends ColumnVector
{
   // for each row, the first offset of the child
   public long[] offsets;
   // for each row, the number of elements in the array
@@ -1348,6 +1348,10 @@ for(int r=0; r &lt; 10000; ++r) {
     batch.reset();
   }
 }
+if (batch.size != 0) {
+  writer.addRowBatch(batch);
+  batch.reset();
+}
 writer.close();
 </code></pre>
 


Mime
View raw message