alamb commented on issue #15686: URL: https://github.com/apache/datafusion/issues/15686#issuecomment-2798808874
> Coercing the LHS to Binary is less performant. Unconditionally parsing literals as FixedSizeBytes would be a breaking change. What about coercing the RHS to FixedSizeBinary? So like ```sql where byte_column = x'deadbeef' ``` Becomes ```sql where byte_column = arrow_cast(x'deadbeef', FixedSizeBinary) ``` This would have the benefit of: 1. Easier to use (no config flag) 2. Could handle non exactly sizes things like casting `0xdead` to `0x0000dead` for comparisoon with 4 byte integers for example -- 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