Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasrepo committed Jul 3, 2024
1 parent d8ebc14 commit 747b69b
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/equivalence/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use datafusion_common::JoinType;
/// A structure representing a expression known to be constant in a physical execution plan.
///
/// The `ConstExpr` struct encapsulates an expression that is constant during the execution
/// of a query. For example if a predicate like `A = 5` applied earlier in the plan `A` would
/// of a query. For example if a predicate like `A = 5` applied earlier in the plan `A` would
/// be known constant
///
/// # Fields
Expand Down
2 changes: 1 addition & 1 deletion datafusion/physical-expr/src/equivalence/properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl EquivalenceProperties {
}

/// Removes constant expressions that may change across partitions.
/// This method should be used when different partitions are fused.
/// This method should be used when data from different partitions are merged.
pub fn clear_per_partition_constants(&mut self) {
self.constants.retain(|item| item.across_partitions());
}
Expand Down

0 comments on commit 747b69b

Please sign in to comment.