(engine: &mut ArrayEngine, x: i64, v: i64, sys_ms: i64, lsn: u64)
| 328 | } |
| 329 | |
| 330 | fn put_cell(engine: &mut ArrayEngine, x: i64, v: i64, sys_ms: i64, lsn: u64) { |
| 331 | engine |
| 332 | .put_cells( |
| 333 | &test_aid(), |
| 334 | vec![ArrayPutCell { |
| 335 | coord: vec![CoordValue::Int64(x)], |
| 336 | attrs: vec![CellValue::Int64(v)], |
| 337 | surrogate: Surrogate::ZERO, |
| 338 | system_from_ms: sys_ms, |
| 339 | valid_from_ms: 0, |
| 340 | valid_until_ms: i64::MAX, |
| 341 | }], |
| 342 | lsn, |
| 343 | ) |
| 344 | .unwrap(); |
| 345 | } |
| 346 | |
| 347 | #[test] |
| 348 | fn plan_empty_array_returns_empty_plan() { |