You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Physical expressions should be aware of the rules on how to propagate statistics. For instance, for the row-wise max of two columns, the maximum statistics is the greatest of the maximum of the two input input columns. This would allow the ProjectionExec node to provide much better statistics.
Describe the solution you'd like
We should extend the PhysicalExpr trait with a method that handles statistics:
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Physical expressions should be aware of the rules on how to propagate statistics. For instance, for the row-wise max of two columns, the maximum statistics is the greatest of the maximum of the two input input columns. This would allow the
ProjectionExec
node to provide much better statistics.Describe the solution you'd like
We should extend the
PhysicalExpr
trait with a method that handles statistics:Describe alternatives you've considered
This could be implemented in the
ProjectionExec
with downcasting on various expression types.Additional context
This is a follow up of #962
The text was updated successfully, but these errors were encountered: