(op: Operator)
| 1193 | } |
| 1194 | |
| 1195 | fn is_compare_op(op: Operator) -> bool { |
| 1196 | matches!( |
| 1197 | op, |
| 1198 | Operator::Eq |
| 1199 | | Operator::NotEq |
| 1200 | | Operator::Lt |
| 1201 | | Operator::LtEq |
| 1202 | | Operator::Gt |
| 1203 | | Operator::GtEq |
| 1204 | | Operator::IsDistinctFrom |
| 1205 | | Operator::IsNotDistinctFrom |
| 1206 | | Operator::LikeMatch |
| 1207 | | Operator::NotLikeMatch |
| 1208 | ) |
| 1209 | } |
| 1210 | |
| 1211 | // The pruning logic is based on the comparing the min/max bounds. |
| 1212 | // Must make sure the two type has order. |
no outgoing calls
no test coverage detected
searching dependent graphs…