Skip to content

Commit

Permalink
Revert "fix(9870): common expression elimination optimization, should…
Browse files Browse the repository at this point in the history
… always re-find the correct expression during re-write. (apache#9871)"

This reverts commit cd7a00b.
  • Loading branch information
peter-toth committed May 2, 2024
1 parent fa31c78 commit cb1bc2e
Show file tree
Hide file tree
Showing 2 changed files with 297 additions and 156 deletions.
2 changes: 1 addition & 1 deletion datafusion/expr/src/logical_plan/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2245,7 +2245,7 @@ impl DistinctOn {

/// Aggregates its input based on a set of grouping and aggregate
/// expressions (e.g. SUM).
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
#[derive(Clone, PartialEq, Eq, Hash)]
// mark non_exhaustive to encourage use of try_new/new()
#[non_exhaustive]
pub struct Aggregate {
Expand Down
Loading

0 comments on commit cb1bc2e

Please sign in to comment.