()
| 577 | |
| 578 | #[test] |
| 579 | fn first_value() -> Result<()> { |
| 580 | let expr = Arc::new(Column::new("c3", 0)) as Arc<dyn PhysicalExpr>; |
| 581 | test_i32_result( |
| 582 | NthValue::first(), |
| 583 | PartitionEvaluatorArgs::new( |
| 584 | &[expr], |
| 585 | &[Field::new("f", DataType::Int32, true).into()], |
| 586 | false, |
| 587 | false, |
| 588 | ), |
| 589 | Int32Array::from(vec![1; 8]).iter().collect::<Int32Array>(), |
| 590 | ) |
| 591 | } |
| 592 | |
| 593 | #[test] |
| 594 | fn last_value() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…