leoyvens opened a new pull request, #15726:
URL: https://github.com/apache/datafusion/pull/15726

   ## Which issue does this PR close?
   
   - Closes #15686.
   - Alternative to #15687.
   
   ## Rationale for this change
   
   See 
https://github.com/apache/datafusion/issues/15686#issuecomment-2805353246.
   
   ## What changes are included in this PR?
   
   The two initial commits have two sequential changes:
   - Expand type coercion to coerce `FixedSizeBinary` to `Binary` when 
necessary, as we already do for lists.
   - Introduce a case to the `ExprSimplifier` to optimize away the coercion 
cast when comparing to a literal.
   
   ## Are these changes tested?
   
   There is an `.slt` test. An existing one that previously failed to coerce 
will now evaluate the comparison.
   
   ## Are there any user-facing changes?
   
   No, this should be very transparent.


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to