()
| 325 | |
| 326 | #[tokio::test] |
| 327 | async fn test_fn_struct() -> Result<()> { |
| 328 | let expr = r#struct(vec![col("a"), col("b")]); |
| 329 | |
| 330 | let batches = get_batches(expr).await?; |
| 331 | |
| 332 | assert_snapshot!( |
| 333 | batches_to_string(&batches), |
| 334 | @r" |
| 335 | +--------------------------+ |
| 336 | | struct(test.a,test.b) | |
| 337 | +--------------------------+ |
| 338 | | {c0: abcDEF, c1: 1} | |
| 339 | | {c0: abc123, c1: 10} | |
| 340 | | {c0: CBAdef, c1: 10} | |
| 341 | | {c0: 123AbcDef, c1: 100} | |
| 342 | +--------------------------+ |
| 343 | "); |
| 344 | |
| 345 | Ok(()) |
| 346 | } |
| 347 | |
| 348 | #[tokio::test] |
| 349 | async fn test_fn_named_struct() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…