advancedxy commented on issue #9530:
URL: 
https://github.com/apache/arrow-datafusion/issues/9530#issuecomment-2012374118

   > I think the problem is that the caller should do the type coercion to 
convert utf8 to dict(i32, utf8) beforehand. In datafusion, we have done it in 
the optimization step, when we reach in_list here, we can ensure the types are 
consistent, so we just go ahead without type checking.
   
   I think in the comet cases, the value type is a dict(i32, utf8) and the 
static list is all utf8 type. So we should convert the `dict(i32, utf8)` to 
utf8 instead? However, like you said, physical-expr is used directly in comet, 
it might not be possible to covert the value type beforehand.


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