()
| 384 | |
| 385 | #[test] |
| 386 | fn cast_from_subquery() { |
| 387 | let plan = logical_plan("SELECT CAST (a AS FLOAT) FROM (SELECT 1 AS a)").unwrap(); |
| 388 | assert_snapshot!( |
| 389 | plan, |
| 390 | @r" |
| 391 | Projection: CAST(a AS Float32) |
| 392 | Projection: Int64(1) AS a |
| 393 | EmptyRelation: rows=1 |
| 394 | " |
| 395 | ); |
| 396 | } |
| 397 | |
| 398 | #[test] |
| 399 | fn try_cast_from_aggregation() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…