Skip to content

Commit 91c6c23

Browse files
committed
fix typos
1 parent 6a688fe commit 91c6c23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datafusion/expr/src/logical_plan/plan.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2627,7 +2627,7 @@ pub struct ScanOrdering {
26272627
}
26282628

26292629
impl ScanOrdering {
2630-
/// Attatch a preferred ordering to the scan ordering.
2630+
/// Attach a preferred ordering to the scan ordering.
26312631
/// See [`ScanOrdering`] for details on how this is used.
26322632
pub fn with_preferred_ordering(mut self, preferred_ordering: Vec<SortExpr>) -> Self {
26332633
self.preferred_ordering = Some(preferred_ordering);

datafusion/optimizer/src/push_down_sort.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ mod tests {
485485
])?
486486
.build()?;
487487

488-
// We can succesfully rewrite the sort expression `bc1` to `b + c + 1` and push it down
488+
// We can successfully rewrite the sort expression `bc1` to `b + c + 1` and push it down
489489
assert_optimized_plan_equal!(
490490
plan,
491491
@r"

0 commit comments

Comments
 (0)