pepijnve commented on issue #16193:
URL: https://github.com/apache/datafusion/issues/16193#issuecomment-2916647205

   @zhuqi-lucas @alamb I slapped together something quickly to test my 
cancellation hypothesis. See 
https://gist.github.com/pepijnve/c013a697b1869ea067e793bf3e1e115a
   
   For me this outputs the following which seems to confirm what I was 
thinking. Am I missing some essential element in the gist to make cancellation 
work?
   
   ```
   Running query
   InfiniteStream::poll_next 10000 times
   InfiniteStream::poll_next 20000 times
   InfiniteStream::poll_next 30000 times
   InfiniteStream::poll_next 40000 times
   ^Cctrl-C
   No result
   Dropping stream
   InfiniteStream::poll_next 50000 times
   InfiniteStream::poll_next 60000 times
   InfiniteStream::poll_next 70000 times
   InfiniteStream::poll_next 80000 times
   InfiniteStream::poll_next 90000 times
   InfiniteStream::poll_next 100000 times
   InfiniteStream::poll_next 110000 times
   ... never stops
   ```


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