pepijnve commented on PR #18183:
URL: https://github.com/apache/datafusion/pull/18183#issuecomment-3568157105

   I think I figured out what might be the problem. `try_creating_lookup_table` 
assumes that the type of the literals will match exactly with the type of the 
evaluated `case` expression. I don't know if you can count on that always being 
so. `Utf8` literals combined with `Dictionary` or `REE` encoded expression 
arrays seems plausible.


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