nirandaperera commented on pull request #10296:
URL: https://github.com/apache/arrow/pull/10296#issuecomment-854164867


   This is a sort of confusion I had when I first started writing kernels. 
   _"A 'scalar' is a single (non-array) element! But how come "Scalar 
functions" accept and produce arrays?"_ 
   But now I understand, even though arrays are passed, the function is applied 
on each scalar in the array independently.
   Do you this is something we'd want to explicitly discuss in the doc?


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to