rluvaton commented on PR #22853:
URL: https://github.com/apache/datafusion/pull/22853#issuecomment-4926873919

   For me it sounds like if you use `new` you can have the bug, and if you use 
`new_with_used_params` you wont have the bug.
   
   In that case, `new` should never be used, and if `new` should never be used 
there is no need for that function.
   
   however, adding argument that require you to traverse the expression without 
exposing (and documenting) a helper will make it very hard to use and source of 
bugs


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