hcrosse commented on code in PR #1735:
URL: https://github.com/apache/arrow-go/pull/1735#discussion_r4807381720


##########
arrow/scalar/scalar_test.go:
##########
@@ -2986,6 +2986,306 @@ func TestFromScalarMetadataDoesNotPrependEmptyEntries(t 
*testing.T) {
        assert.Equal(t, meta.Values(), out.FieldMeta[0].Values())
 }
 
+func TestFromScalarSlicedMapMetadata(t *testing.T) {

Review Comment:
   I added an ownership test using `zeroingAllocator` that releases the source 
scalar and checks the checked allocator returns to zero before verifying the 
metadata keys and values.



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