davisusanibar commented on code in PR #34873:
URL: https://github.com/apache/arrow/pull/34873#discussion_r1174294276


##########
java/vector/src/main/java/org/apache/arrow/vector/ipc/ArrowWriter.java:
##########
@@ -119,6 +119,53 @@ protected ArrowWriter(VectorSchemaRoot root, 
DictionaryProvider provider, Writab
     this.schema = new Schema(fields, root.getSchema().getCustomMetadata());
   }
 
+  /**
+   * Note: fields are not closed when the writer is closed.
+   *
+   * @param root               the vectors to write to the output
+   * @param provider           where to find the dictionaries
+   * @param out                the output where to write
+   * @param option             IPC write options
+   * @param compressionFactory Compression codec factory
+   * @param codecType          Compression codec
+   * @param compressionLevel   Compression level
+   */
+  protected ArrowWriter(VectorSchemaRoot root, DictionaryProvider provider, 
WritableByteChannel out, IpcOption option,

Review Comment:
   Oh, I've decided to refactor constructor to add new parameter needed, .... 
otherwise will be to maintain the constructor as it is now and add a new 
constructor for new compression_level args needed. Please let me know how to 
proceed?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to