erratic-pattern commented on PR #10221:
URL: https://github.com/apache/datafusion/pull/10221#issuecomment-2077662992

   Or even more generally, you could ignore whether the operands are column 
references or constants and just have:
   
   `ValueType(<expr> :: Dictionary<IndexType, ValueType>) <binary op> 
ValueType(<expr> :: <any type>)`
   becomes:
   `(<expr> :: Dictionary<IndexType, ValueType>) <binary op> CAST(<expr> as 
Dictionary<IndexType, ValueType>)`


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