Skip to content

Commit af82001

Browse files
Replace mod with the standard substrait name modulus
1 parent 2730423 commit af82001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/substrait/src/logical_plan/consumer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pub fn name_to_op(name: &str) -> Option<Operator> {
107107
"subtract" => Some(Operator::Minus),
108108
"multiply" => Some(Operator::Multiply),
109109
"divide" => Some(Operator::Divide),
110-
"mod" => Some(Operator::Modulo),
110+
"modulus" => Some(Operator::Modulo),
111111
"and" => Some(Operator::And),
112112
"or" => Some(Operator::Or),
113113
"is_distinct_from" => Some(Operator::IsDistinctFrom),

0 commit comments

Comments
 (0)