alamb commented on code in PR #15110:
URL: https://github.com/apache/datafusion/pull/15110#discussion_r1994246538


##########
datafusion/core/tests/expr_api/mod.rs:
##########
@@ -330,12 +330,12 @@ async fn test_create_physical_expr_coercion() {
     create_expr_test(lit(1i32).eq(col("id")), "CAST(1 AS Utf8) = id@0");
     // compare int col to string literal `i = '202410'`
     // Note this casts the column (not the field)
-    create_expr_test(col("i").eq(lit("202410")), "CAST(i@1 AS Utf8) = 202410");
-    create_expr_test(lit("202410").eq(col("i")), "202410 = CAST(i@1 AS Utf8)");
+    create_expr_test(col("i").eq(lit("202410")), "i@1 = 202410");

Review Comment:
   🎉 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to