leoyvens commented on issue #15686:
URL: https://github.com/apache/datafusion/issues/15686#issuecomment-2799013192

   @alamb thank you for looking at this. Avoiding a config flag would be nice. 
But I'm skeptical of the proposed coercion.
   
   If we coerce `binary` to `fixed(N)` when encountering any expression of 
type: `fixed(N) = binary`, this would be a fallible coercion. While the 
infallible coercion of `fixed(N)` to `binary` would allow the expression to be 
evaluated for all values. DataFusion has already chosen this more lenient 
coercion for lists. The following:
   ```
   select arrow_cast([1], 'FixedSizeList(1, Int64)') = [1, 2];
   ```
   Evaluates today to `false` instead of giving a coercion error.


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