GitHub user CurtHagenlocher added a comment to the discussion: Proper way to initialize an `ListArray.Builder`
I'm not sure anyone actively involved in the project today could tell you why the code is the way it is; it seems to date back a little over six years. A better question would be whether there are any improvements that could be made that would be compatible with existing code, and I think that's a pretty hard constraint to meet. Perhaps `ListArrayBuilder.Build` could throw an exception if the first offset is anything other than zero? The only programs which would be broken by this should be those that are already producing invalid arrays. I often think it would be nice to redesign the builder APIs. GitHub link: https://github.com/apache/arrow-dotnet/discussions/321#discussioncomment-16640413 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
