mdepero commented on code in PR #13221:
URL: https://github.com/apache/arrow/pull/13221#discussion_r881114277
##########
go/parquet/file/column_reader_types.gen.go:
##########
@@ -207,10 +207,11 @@ type BooleanColumnChunkReader struct {
func (cr *BooleanColumnChunkReader) Skip(nvalues int64) (int64, error) {
return cr.columnChunkReader.skipValues(nvalues,
func(batch int64, buf []byte) (int64, error) {
+ // buf is large enough to hold values, but not to hold
def and rep lvls; use nil for them
vals, _, err := cr.ReadBatch(batch,
*(*[]bool)(unsafe.Pointer(&buf)),
- arrow.Int16Traits.CastFromBytes(buf),
- arrow.Int16Traits.CastFromBytes(buf))
+ nil,
+ nil)
Review Comment:
Done, thank you!
--
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]