izchen opened a new pull request #3460:
URL: https://github.com/apache/iceberg/pull/3460


   The test case reproducing the exception:
   
   ```sql
   CREATE TABLE filter_binary_test (cbinary BINARY) USING ICEBERG;
   SELECT cbinary FROM filter_binary_test WHERE cbinary > X'110F';
   ```
   
   ```
   java.lang.IllegalArgumentException: Cannot convert bytes to SQL literal: 
java.nio.HeapByteBuffer[pos=0 lim=2 cap=2]
   ```
   
   Like this SQL, BinaryLiteral(ByteBuffer) is not an illegal value.
   
   in addition, the BinaryLiteral string format in this PR is the same as spark.


-- 
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: issues-unsubscr...@iceberg.apache.org

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



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

Reply via email to