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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
