thisisnic commented on PR #46878:
URL: https://github.com/apache/arrow/pull/46878#issuecomment-3092593915

   >     * I basically had Gemini write this (on my free personal account). It 
did 95% of the work, from one prompt, then I tidied up the results and fixed 
the tests. It looks reasonably similar to the `dplyr::case_when()` code. I'm 
not sure arrow/Apache policy on AI-generated code. The part I understand least 
is the `mask` and the `Expression` class.
   
   Thanks for being transparent on the use of genAI for the code.  The ASF 
guidance on AI-generated code is 
[here](https://www.apache.org/legal/generative-tooling.html).  
   
   The biggest risk here is if Gemini reproduces copyrighted code or code under 
incompatible licenses.  My best guess is that it's probably fine in this case 
given that the generated code has to conform to the existing structure for 
bindings and in the context of arrow and data.table, as opposed to a totally 
new project being generated from scratch.


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to