Missing dispose of RowGroupMetaData in RowGroupReader?#322
Missing dispose of RowGroupMetaData in RowGroupReader?#322Sense545 wants to merge 6 commits intoG-Research:masterfrom Sense545:rowgroupmetadata-dispose
Conversation
|
Sorry about the spam. Haven't gotten the build system set up locally yet, so fixing the issues on the fly. |
|
Built successfully locally now |
|
Hi @Sense545, I'm guessing you've closed this as you realised it doesn't really make sense for It's fair to say this looks a little weird that these don't free their native handles though, we should probably at least document the reason for this in the code. It's also a potential footgun as accessing Edit: This is kind of related to #243 |
|
Yep. Didn't realize they were owned by the parent object at first. It was a good learning experience to look into this and get it compiling and tests running locally. Maybe the handles could be renamed to Regarding accessing the |
_metaData?.Dispose()in RowGroupReaderIDisposablefor RowGroupMetaData (to dispose _handle)