jonahgao commented on code in PR #11929:
URL: https://github.com/apache/datafusion/pull/11929#discussion_r1712671711


##########
datafusion/sqllogictest/test_files/coalesce.slt:
##########
@@ -23,7 +23,7 @@ select coalesce(1, 2, 3);
 1
 
 # test with first null
-query ?T
+query IT
 select coalesce(null, 3, 2, 1), arrow_typeof(coalesce(null, 3, 2, 1));

Review Comment:
   Same as `arrow_typeof` now.
   ```sh
   > select arrow_typeof(coalesce(null, 3, 2, 1));
   +---------------------------------------------------------+
   | arrow_typeof(coalesce(NULL,Int64(3),Int64(2),Int64(1))) |
   +---------------------------------------------------------+
   | Int64                                                   |
   +---------------------------------------------------------+
   ```
   The datatype of the initial logical plan is incorrect until TypeCoercion is 
executed.



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