mapleFU commented on code in PR #39347:
URL: https://github.com/apache/arrow/pull/39347#discussion_r1434664371


##########
go/parquet/internal/encoding/delta_bit_packing.go:
##########
@@ -466,6 +466,10 @@ func (enc *deltaBitPackEncoder) FlushValues() (Buffer, 
error) {
 
 // EstimatedDataEncodedSize returns the current amount of data actually 
flushed out and written
 func (enc *deltaBitPackEncoder) EstimatedDataEncodedSize() int64 {
+       if enc.bitWriter == nil {

Review Comment:
   C++ version uses the syntax similiar with `enc.sink.Length()`, but maybe 
it's more elegant here



-- 
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