davisusanibar commented on code in PR #183: URL: https://github.com/apache/arrow-cookbook/pull/183#discussion_r848643374
########## java/source/data.rst: ########## @@ -15,7 +15,7 @@ Compare Vectors for Field Equality import org.apache.arrow.vector.compare.TypeEqualsVisitor; import org.apache.arrow.memory.RootAllocator; - RootAllocator rootAllocator = new RootAllocator(Long.MAX_VALUE); + RootAllocator rootAllocator = new RootAllocator(); Review Comment: Changed ########## java/source/io.rst: ########## @@ -33,30 +34,34 @@ Write - Out to File import org.apache.arrow.vector.VectorSchemaRoot; import static java.util.Arrays.asList; import org.apache.arrow.vector.ipc.ArrowFileWriter; - import java.io.File; import java.io.FileOutputStream; import java.io.IOException; - try (RootAllocator rootAllocator = new RootAllocator(Long.MAX_VALUE)) { + try ( + BufferAllocator allocator = new RootAllocator() Review Comment: Deleted -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org