Skip to content

Commit 496a494

Browse files
committed
Add missing enum variants
1 parent 58f8c99 commit 496a494

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

src/expr.rs

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -714,9 +714,19 @@ impl PyExpr {
714714
| Operator::BitwiseXor
715715
| Operator::BitwiseAnd
716716
| Operator::BitwiseOr => DataTypeMap::map_from_arrow_type(&DataType::Binary),
717-
Operator::AtArrow | Operator::ArrowAt => {
718-
Err(py_type_err(format!("Unsupported expr: ${op}")))
719-
}
717+
Operator::AtArrow
718+
| Operator::ArrowAt
719+
| Operator::Arrow
720+
| Operator::LongArrow
721+
| Operator::HashArrow
722+
| Operator::HashLongArrow
723+
| Operator::AtAt
724+
| Operator::IntegerDivide
725+
| Operator::HashMinus
726+
| Operator::AtQuestion
727+
| Operator::Question
728+
| Operator::QuestionAnd
729+
| Operator::QuestionPipe => Err(py_type_err(format!("Unsupported expr: ${op}"))),
720730
},
721731
Expr::Cast(Cast { expr: _, data_type }) => DataTypeMap::map_from_arrow_type(data_type),
722732
Expr::Literal(scalar_value) => DataTypeMap::map_from_scalar_value(scalar_value),

0 commit comments

Comments
 (0)