()
| 397 | |
| 398 | #[test] |
| 399 | fn try_cast_from_aggregation() { |
| 400 | let plan = logical_plan("SELECT TRY_CAST(sum(age) AS FLOAT) FROM person").unwrap(); |
| 401 | assert_snapshot!( |
| 402 | plan, |
| 403 | @r" |
| 404 | Projection: TRY_CAST(sum(person.age) AS Float32) |
| 405 | Aggregate: groupBy=[[]], aggr=[[sum(person.age)]] |
| 406 | TableScan: person |
| 407 | " |
| 408 | ); |
| 409 | } |
| 410 | |
| 411 | #[test] |
| 412 | fn cast_to_invalid_decimal_type_precision_0() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…