milenkovicm commented on PR #20037:
URL: https://github.com/apache/datafusion/pull/20037#issuecomment-3811700589

   > > Converter is not consumed, it can be reused, that is the core problem. 
It can also be reused across multiple threads, "reset depth" is broken from 
that perspective as well.
   > 
   > I will make some changes to add the salt and make it even safer to re-use, 
as well as making it non Send. I will also make it non-default.
   > 
   > I don't expect you to accept the changes just because of it, but I'd 
appreciate if you could consider them. If they still don't meet your bar for 
inclusion in DataFusion we can leave this as an open bug and we'll hack a fix 
in externally.
   
   I have nothing agains keeping default implementation as it was and adding 
caching implementation to public api, in that case its up to users to make 
decision what they want to do with it (and it does not matter if it is Send or 
not, maybe users will find a way to generate ids in some other way and it could 
be multi thread). 
   
   Opt in option would  mean users understand whats the sharp edges of cached 
implementation is, and they have to take care not to abuse it 
   
   would that make sense ? 
   
   


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