Skip to content

Commit 73049d6

Browse files
chore: cleanup error messages
1 parent d3bb21f commit 73049d6

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎datafusion/optimizer/src/decorrelate.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ fn remove_duplicated_filter(
622622
Expr::BinaryExpr(b) => b.op.swap() == Some(b.op),
623623
_ => true,
624624
},
625-
"remove_duplicated_filter: in_predicate must use a commutative operator"
625+
"in_predicate must use a commutative operator"
626626
);
627627

628628
Ok(filters

‎datafusion/optimizer/src/decorrelate_predicate_subquery.rs‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -759,9 +759,7 @@ fn build_join_with_count_bug(
759759
.project(left_projection)?
760760
.build()?,
761761
_ => {
762-
return internal_err!(
763-
"build_join_with_count_bug: unsupported join type {join_type:?}"
764-
);
762+
return internal_err!("unsupported join type {join_type:?}");
765763
}
766764
};
767765

0 commit comments

Comments
 (0)