alamb commented on PR #16196:
URL: https://github.com/apache/datafusion/pull/16196#issuecomment-2954329852

   I am happy to wait for a bit more testing on this PR -- we have now about a 
month before the next release so there is no pressure from there. 
   
   However, I do like a bias of action, and if this PR fixes a real problem, I 
don't think we should bikeshed it indefinitely 
   
   > Unfortunately you do need to do this kind of thing at the operator 
implementation level. I do think there are implementation patterns here that 
could server as building blocks for operators. 'Build a stream async and then 
emit from it' for instance seems to be pretty common. Rather than having a 
bespoke implementation in each operator it would be useful to have a combinator 
that operators can use. Perhaps there's a similar zero cost solution to the 
'drains input before first emit' pattern as well?
   
   I was thinking of `YieldStream` as such a combinator 🤔 
   
   > @alamb FYI I plan to merge this soon. It is OK if you don't have the 
bandwidth to take a look, it is the first step towards the design we discussed 
before.
   
   @ozankabak  -- what are the next steps? I may have lost track -- if this PR 
needs some follow on I think we should file tickets to explain what they are 
before merging it (I can help to file such tickets)
   


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

Reply via email to