jzhuge commented on issue #7682:
URL: https://github.com/apache/iceberg/issues/7682#issuecomment-1560415493
Looks like `bucketFunc` misses the following case:
```java
case _: BinaryType =>
val t =
Transforms.bucket[ByteBuffer](numBuckets).bind(icebergInputType)
s: Any =>
ByteBuffers.toByteArray(t(ByteBuffer.wrap(s.asInstanceOf[Array[Byte]])))
```
Puzzled why `testBucketBinary` doesn't catch this.
--
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]