Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Dec 29, 2023
1 parent f725553 commit e05123a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafusion/physical-expr/src/sort_properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl ExprOrdering {
/// Creates a new [`ExprOrdering`] with [`SortProperties::Unordered`] states
/// for `expr` and its children.
pub fn new(expr: Arc<dyn PhysicalExpr>) -> Self {
let children = PhysicalExpr::children(expr.as_ref());
let children = expr.children();
Self {
expr,
state: Default::default(),
Expand Down
2 changes: 1 addition & 1 deletion datafusion/physical-expr/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub struct ExprTreeNode<T> {

impl<T> ExprTreeNode<T> {
pub fn new(expr: Arc<dyn PhysicalExpr>) -> Self {
let children = PhysicalExpr::children(expr.as_ref());
let children = expr.children();
ExprTreeNode {
expr,
data: None,
Expand Down

0 comments on commit e05123a

Please sign in to comment.