RatulDawar commented on issue #22506:
URL: https://github.com/apache/datafusion/issues/22506#issuecomment-4567358693

   I think that for Utf8 and Utf8View a clear merge winner is Utf8View but for 
cases like Int32 and Utf8/Utf8View we should consider returnning an error 
instead. 
   
   Because cases like this: 
   ```
   CREATE TABLE t(s VARCHAR) AS VALUES ('a');
   CREATE TABLE t2(id INT) AS VALUES (1);
   SELECT $1 = s FROM t JOIN t2 ON t2.id = $1;
   ```
   
   Not single type Int32 or Utf8View would be good. 
   Let me know what are your thoughts @cetra3 


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