JanKaul commented on issue #17719:
URL: https://github.com/apache/datafusion/issues/17719#issuecomment-3381972242

   > Why would we provide an extra trait for this? Couldn't we provide a 
function on LogicalPlan and add it to the UserDefinedLogicalNode trait? Or am I 
missing something here?
   
   At this point you typically only have estimates for the cardinality. And 
often you use default values for the selectivities in case you don't have 
sufficient statistics available. I thought that maybe different databases would 
like to have their own logic for these estimations. Having a trait would allow 
to adjust this.
   
   If you hardcode a function, there is no way to adjust this. Maybe it's 
overkill.


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