You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "bigwhite (via GitHub)" <gi...@apache.org> on 2024/08/30 01:48:10 UTC

[I] [Go] the output is not passed to emitResult in scalarExecutor.executeSpans which may cause the function execute result is wrong [arrow-go]

bigwhite opened a new issue, #52:
URL: https://github.com/apache/arrow-go/issues/52

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   When I read the code in executor.go, I found a maybe problem:
   
   ![image](https://github.com/apache/arrow-go/assets/419088/462851b3-8a46-4ff1-bbc2-3da3c4d8f9e1)
   
   initially, output is a copy of prealloc. After some operation to output, the output may be different to prealloc, e.g. some slice header. (BufferSpan.Buf)
   
   The code may pass the output to emitResult rather than the prealloc.
   
   I'm not sure this is a real problem because I've no test case to produce the problem.
   
   ### Component(s)
   
   Go


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

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