()
| 858 | |
| 859 | #[tokio::test] |
| 860 | async fn test_fn_replace() -> Result<()> { |
| 861 | let expr = replace(col("a"), lit("abc"), lit("x")); |
| 862 | |
| 863 | let batches = get_batches(expr).await?; |
| 864 | |
| 865 | assert_snapshot!( |
| 866 | batches_to_string(&batches), |
| 867 | @r#" |
| 868 | +---------------------------------------+ |
| 869 | | replace(test.a,Utf8("abc"),Utf8("x")) | |
| 870 | +---------------------------------------+ |
| 871 | | xDEF | |
| 872 | | x123 | |
| 873 | | CBAdef | |
| 874 | | 123AbcDef | |
| 875 | +---------------------------------------+ |
| 876 | "#); |
| 877 | |
| 878 | Ok(()) |
| 879 | } |
| 880 | |
| 881 | #[tokio::test] |
| 882 | async fn test_fn_repeat() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…