()
| 172 | |
| 173 | #[tokio::test] |
| 174 | async fn test_fn_nullif() -> Result<()> { |
| 175 | let expr = nullif(col("a"), lit("abcDEF")); |
| 176 | |
| 177 | let batches = get_batches(expr).await?; |
| 178 | |
| 179 | assert_snapshot!( |
| 180 | batches_to_string(&batches), |
| 181 | @r#" |
| 182 | +-------------------------------+ |
| 183 | | nullif(test.a,Utf8("abcDEF")) | |
| 184 | +-------------------------------+ |
| 185 | | | |
| 186 | | abc123 | |
| 187 | | CBAdef | |
| 188 | | 123AbcDef | |
| 189 | +-------------------------------+ |
| 190 | "#); |
| 191 | |
| 192 | Ok(()) |
| 193 | } |
| 194 | |
| 195 | #[tokio::test] |
| 196 | async fn test_fn_arrow_cast() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…