westonpace commented on issue #34494:
URL: https://github.com/apache/arrow/issues/34494#issuecomment-1472652228

   > How do I completely destroy the generator mentioned in the above code to 
call stop_producing?
   
   You cannot, unfortunately, through the scanner APIs.
   
   > Or I should build my own ExecPlan and ScanBatchesfunctions? Then I can 
call StopProducing?
   
   Yes, this is what I was thinking.  This is probably also going to be more 
future-proof.  This destroys the generator but I think some work still happens 
in the background as it is wrapping up files.  There is a new scan node in 
development which will not do background work and will stop more quickly.


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

Reply via email to