stenlarsson commented on PR #48491: URL: https://github.com/apache/arrow/pull/48491#issuecomment-3696342720
> Good point. I want to add similar features to Red Arrow but I want to use dynamic method definitions instead of code generation because Acero functions can be added dynamically. Yes, that makes sense for something included with Arrow. In my case it doesn't matter since I can generate the code afterwards. > Does the dynamic method definition work with IDE integration? No, unfortunately IDE integration for Ruby is pretty bad. > We can add convenient API in Ruby. This could work, but I implemented another solution. This adds field-nullability and field-metadata as boxed properties of type. These aren't automatically converted by gobject-introspection, so to work around this, I implemented the getter and setter methods to the Ruby extension. If support is added to gobject-introspection in the future, we can just remove the code from the extension without changing the API. I'm not sure what the type annotations for such properties are supposed to look like however. -- 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]
