()
| 1107 | #[tokio::test] |
| 1108 | #[cfg(feature = "unicode_expressions")] |
| 1109 | async fn test_fn_substr() -> Result<()> { |
| 1110 | let expr = substr(col("a"), lit(2)); |
| 1111 | |
| 1112 | let batches = get_batches(expr).await?; |
| 1113 | |
| 1114 | assert_snapshot!( |
| 1115 | batches_to_string(&batches), |
| 1116 | @r" |
| 1117 | +-------------------------+ |
| 1118 | | substr(test.a,Int32(2)) | |
| 1119 | +-------------------------+ |
| 1120 | | bcDEF | |
| 1121 | | bc123 | |
| 1122 | | BAdef | |
| 1123 | | 23AbcDef | |
| 1124 | +-------------------------+ |
| 1125 | "); |
| 1126 | |
| 1127 | Ok(()) |
| 1128 | } |
| 1129 | |
| 1130 | #[tokio::test] |
| 1131 | async fn test_cast() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…