emkornfield commented on a change in pull request #9862: URL: https://github.com/apache/arrow/pull/9862#discussion_r606741513
########## File path: go/arrow/internal/arrdata/ioutil.go ########## @@ -191,3 +233,32 @@ func WriteStream(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.S t.Fatal(err) } } + +// WriteStreamCompressed writes a list of records to the given file descriptor as an ARROW stream +// using the provided compression type. +func WriteStreamCompressed(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.Schema, recs []array.Record, codec flatbuf.CompressionType) { Review comment: same comment on the api. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org