viirya commented on PR #496:
URL: https://github.com/apache/datafusion-comet/pull/496#issuecomment-2148138531

   I've checked the implementation of `CoalesceBatchesExec`. It actually 
buffers produced batches from its upstream. Comet scan reuses vectors when 
producing batches, so when you poll next batch from Comet scan, the previous 
batch's content is overwritten. To do with it, you probably need to add a Comet 
`CopyExec` operator before `CoalesceBatchesExec`.


-- 
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...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to