()
| 52 | |
| 53 | #[tokio::test] |
| 54 | async fn describe_boolean_binary() -> Result<()> { |
| 55 | let ctx = parquet_context().await; |
| 56 | |
| 57 | //add test case for only boolean boolean/binary column |
| 58 | let result = ctx |
| 59 | .sql("select 'a' as a,true as b") |
| 60 | .await? |
| 61 | .describe() |
| 62 | .await? |
| 63 | .collect() |
| 64 | .await?; |
| 65 | |
| 66 | assert_snapshot!( |
| 67 | batches_to_string(&result), |
| 68 | @r" |
| 69 | +------------+------+------+ |
| 70 | | describe | a | b | |
| 71 | +------------+------+------+ |
| 72 | | count | 1 | 1 | |
| 73 | | null_count | 0 | 0 | |
| 74 | | mean | null | null | |
| 75 | | std | null | null | |
| 76 | | min | a | null | |
| 77 | | max | a | null | |
| 78 | | median | null | null | |
| 79 | +------------+------+------+ |
| 80 | "); |
| 81 | Ok(()) |
| 82 | } |
| 83 | |
| 84 | #[tokio::test] |
| 85 | async fn describe_null() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…