mzzz-zzm opened a new issue, #955: URL: https://github.com/apache/iceberg-go/issues/955
### Apache Iceberg version main (development) ### Please describe the bug 🐞 array.RecordToStructArray calls NewStructData internally, which sets refCount = 1. No other code calls st.Retain(), so the refcount stays at 1 throughout. The defer st.Release() alone already handles both error / normal path. The explicit st.Release() at the end of the function should be removed. -- 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]
