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.
Currently API of maintains_input_order is as follows fn maintains_input_order(&self) -> bool. It returns a boolean indicating whether the executor keeps ordering. Although this is sufficient for most of the executors. For executors with multiple children, this API is insufficient. Consider UnionExec with two children where ordering of children are Sort(a, b) and Sort(a) respectively. The output will be sorted with Sort(a). However, in current API we return false(Returning true would be wrong). However, if we were to update API to return Vec<bool>. We could return vec![false, true]. This will enable us to further optimize physical plans.
Describe the solution you'd like
N.A
Describe alternatives you've considered
N.A
Additional context
N.A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently API of
maintains_input_order
is as followsfn maintains_input_order(&self) -> bool
. It returns a boolean indicating whether the executor keeps ordering. Although this is sufficient for most of the executors. For executors with multiple children, this API is insufficient. ConsiderUnionExec
with two children where ordering of children areSort(a, b)
andSort(a)
respectively. The output will be sorted withSort(a)
. However, in current API we returnfalse
(Returningtrue
would be wrong). However, if we were to update API to returnVec<bool>
. We could returnvec![false, true]
. This will enable us to further optimize physical plans.Describe the solution you'd like
N.A
Describe alternatives you've considered
N.A
Additional context
N.A
The text was updated successfully, but these errors were encountered: