stenlarsson commented on PR #48491:
URL: https://github.com/apache/arrow/pull/48491#issuecomment-3681865762

   > Wow! How do you implement it?
   
   The project is not open source, but I extracted the relevant parts and put 
together an example: https://github.com/stenlarsson/arrow-plan/blob/main/test.rb
   
   It provides syntax sugar to make it easier to create and execute Acero 
plans. Since we generate code for the compute functions, your IDE can show you 
which functions exist, and what arguments and options they take. Symbols are 
used to reference fields, and some common Ruby types are automatically wrapped 
as well. In my opinion it makes it much easier to read the code.
   
   However, this only works if the options classes uses properties. If they use 
any other API, it becomes inconvenient.


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

Reply via email to