lidavidm commented on issue #28:
URL: https://github.com/apache/arrow-go/issues/28#issuecomment-3275073980

   Hmm, so it's failing right here:
   
   ```go
        case *file.ByteArrayColumnChunkWriter:
                var (
                        buffer   = leafArr.Data().Buffers()[2]
                        valueBuf []byte
                )
   
                if buffer == nil {
                        valueBuf = []byte{}
                } else {
                        valueBuf = buffer.Bytes()
                }
   
                data := make([]parquet.ByteArray, leafArr.Len())
   ```
   
   I feel like the most likely way an invalid pointer makes it onto the stack 
here is through `valueBuf`, which would be the 3rd buffer of the array, and 
since we're writing byte arrays, presumably there's an Arrow binary or string 
column. Is Polars perhaps somehow leaving behind an invalid pointer when 
there's (say) an empty or all-null array?


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