(&self, other: &Self)
| 1082 | |
| 1083 | impl PartialEq for AggregateFunctionExpr { |
| 1084 | fn eq(&self, other: &Self) -> bool { |
| 1085 | self.name == other.name |
| 1086 | && self.return_field == other.return_field |
| 1087 | && self.fun == other.fun |
| 1088 | && self.args.len() == other.args.len() |
| 1089 | && self |
| 1090 | .args |
| 1091 | .iter() |
| 1092 | .zip(other.args.iter()) |
| 1093 | .all(|(this_arg, other_arg)| this_arg.eq(other_arg)) |
| 1094 | } |
| 1095 | } |
| 1096 | |
| 1097 | fn replace_order_by_clause(order_by: &mut String) { |