fallintoplace opened a new pull request, #876:
URL: https://github.com/apache/arrow-go/pull/876

   ### What changed
   
   Data.Reset now releases and clears any existing dictionary data when reusing 
an ArrayData value.
   
   ### Why
   
   Reset replaces the buffers, children, type, length, null count, and offset, 
but previously left the old dictionary attached. Reusing dictionary-backed data 
as non-dictionary data could keep returning stale dictionary data and retain 
the old dictionary longer than expected.
   
   ### Validation
   
   - go test ./arrow/array -run 'TestDataReset' -count=1
   - go test ./arrow/array -count=1
   - PARQUET_TEST_DATA=/Users/hoangvu/Code/OSS/arrow-go/parquet-testing/data 
ARROW_TEST_DATA=/Users/hoangvu/Code/OSS/arrow-go/arrow-testing/data go test 
./... -count=1


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