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
* Take Sort (SortExpr) in file options
Part of effort to remove `Expr::Sort`.
* Return Sort from Expr.Sort
Part of effort to remove `Expr::Sort`.
* Accept Sort (SortExpr) in `LogicalPlanBuilder.sort`
Take `expr::Sort` in `LogicalPlanBuilder.sort`.
Accept any `Expr` in new function, `LogicalPlanBuilder.sort_by` which
apply default sort ordering.
Part of effort to remove `Expr::Sort`.
* Operate on `Sort` in to_substrait_sort_field / from_substrait_sorts
Part of effort to remove `Expr::Sort`.
* Take Sort (SortExpr) in tests' TopKPlanNode
Part of effort to remove `Expr::Sort`.
* Remove Sort expression (`Expr::Sort`)
Remove sort as an expression, i.e. remove `Expr::Sort` from `Expr` enum.
Use `expr::Sort` directly when sorting.
The sort expression was used in context of ordering (sort, topk, create
table, file sorting). Those places require their sort expression to be
of type Sort anyway and no other expression was allowed, so this change
improves static typing. Sort as an expression was illegal in other
contexts.
* use assert_eq just like in LogicalPlan.with_new_exprs
* avoid clone in replace_sort_expressions
* reduce cloning in EliminateDuplicatedExpr
* restore SortExprWrapper
this commit is longer than advised in the review comment, but after
squashing the diff will be smaller
* shorthand SortExprWrapper struct definition
0 commit comments