()
| 1512 | } |
| 1513 | |
| 1514 | fn gen_expr_data() -> impl Strategy<Value = ExpressionData> { |
| 1515 | let columns = prop::collection::vec(gen_column(), 1..10); |
| 1516 | columns.prop_flat_map(|data| { |
| 1517 | let (columns, datums, specs): (Vec<_>, Vec<_>, Vec<_>) = data.into_iter().multiunzip(); |
| 1518 | let relation = ReprRelationType::new(columns); |
| 1519 | let row = Row::pack_slice(&datums); |
| 1520 | gen_expr_for_relation(&relation).prop_map(move |(expr, _)| ExpressionData { |
| 1521 | relation_type: relation.clone(), |
| 1522 | specs: specs.clone(), |
| 1523 | rows: vec![row.clone()], |
| 1524 | expr, |
| 1525 | }) |
| 1526 | }) |
| 1527 | } |
| 1528 | |
| 1529 | #[mz_ore::test] |
| 1530 | #[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `decContextDefault` on OS `linux` |
nothing calls this directly
no test coverage detected