Omega359 commented on issue #13325:
URL: https://github.com/apache/datafusion/issues/13325#issuecomment-2479607530

   That code will coerce Utf8 to LargeUtf8. 
   ```
   // Then, if LargeUtf8 is in any side, we coerce to LargeUtf8.
   (LargeUtf8, Utf8 | LargeUtf8) | (Utf8, LargeUtf8) => Some(LargeUtf8),
   ```
   
   It also will coerce LargeUtf8 to Utf8View which I believe is incorrect - 
LargeUtf8 is i64, Utf8View is i32.
   ```
    // If Utf8View is in any side, we coerce to Utf8View.
   (Utf8View, Utf8View | Utf8 | LargeUtf8) | (Utf8 | LargeUtf8, Utf8View) => {
       Some(Utf8View)
   }
   ```
   


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