You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by GitBox <gi...@apache.org> on 2022/07/07 16:45:59 UTC

[GitHub] [orc] dongjoon-hyun commented on a diff in pull request #1161: ORC-1204. ORC MapReduce writer to flush when long arrays

dongjoon-hyun commented on code in PR #1161:
URL: https://github.com/apache/orc/pull/1161#discussion_r916084524


##########
java/mapreduce/src/java/org/apache/orc/mapred/OrcOutputFormat.java:
##########
@@ -75,6 +75,8 @@ public RecordWriter<NullWritable, V> getRecordWriter(FileSystem fileSystem,
     Path path = getTaskOutputPath(conf, name);
     Writer writer = OrcFile.createWriter(path,
         buildOptions(conf).fileSystem(fileSystem));
-    return new OrcMapredRecordWriter<>(writer);
+    return new OrcMapredRecordWriter<>(writer,
+        OrcConf.ROW_BATCH_SIZE.getInt(conf),

Review Comment:
   WDYT, @omalley ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@orc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org