alamb commented on issue #21650:
URL: https://github.com/apache/datafusion/issues/21650#issuecomment-4254851651

   
   
   > I combined the shared state using TaskContext (which, in normal usages, 
will be created on each new query run), which I think still not is 100% the 
desired end state but avoids a lot of scenario's.
   
   I really like this idea of using `TaskContext` to store the shared state 
somehow. It maps quite nicely to existing patterns and I think would not be 
super disruptive.  I think if we got the general purpose API right, that could 
also solve a lot of challenges (like how to serialize dynamic filter 
references, for example) -- e.g. the dynamic filters could get some sort of 
`id` and then the actual runtime connection could be made by looking up in the 
`TaskContext`
   
   


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