alamb commented on code in PR #9298:
URL: https://github.com/apache/arrow-datafusion/pull/9298#discussion_r1504479617


##########
datafusion-examples/examples/to_char.rs:
##########
@@ -125,14 +125,14 @@ async fn main() -> Result<()> {
 
     assert_batches_eq!(
         &[
-            "+------------+",
-            "| t.values   |",
-            "+------------+",
-            "| 2020-09-01 |",
-            "| 2020-09-02 |",
-            "| 2020-09-03 |",
-            "| 2020-09-04 |",
-            "+------------+",
+            "+-----------------------------------+",
+            "| arrow_cast(t.values,Utf8(\"Utf8\")) |",

Review Comment:
   I think after @jayzhan211  has completed 
https://github.com/apache/arrow-datafusion/pull/9304 we will be able to avoid 
these changes by implementing `ArrowCastFunc::simplify`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to