neilconway opened a new issue, #21619:
URL: https://github.com/apache/datafusion/issues/21619

   ### Is your feature request related to a problem or challenge?
   
   Per https://github.com/apache/datafusion/pull/21240#discussion_r3065275637 , 
if the same subquery (identical SQL text) appears multiple times in a query, it 
will be planned and evaluated multiple times. In principle it should be fine to 
evaluate it only once, provided the subquery doesn't contain any volatile 
functions (e.g., `random()`).
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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