badalprasadsingh opened a new issue, #1819:
URL: https://github.com/apache/iceberg-go/issues/1819

   ### Apache Iceberg version
   
   None
   
   ### Please describe the bug 🐞
   
   Right now, `arrowProjectionVisitor.List` and `.Map` do not release the 
original element / key / value array before `castIfNeeded` returns its retained 
copy, when the element / key / value type is itself nested ( struct / list / 
map ).
   
   - `Struct()` : handles this correctly with two defers
   - `List` / `Map` : only have one
   
   Thus, one arrow buffer reference leaked per nested container field per batch 
via `ToRequestedSchema` - affecting any scan over schemas.
   
   ### Status
   
   Will be working on the fix ahead.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to