aokolnychyi opened a new pull request #425: Fix Literal serializability URL: https://github.com/apache/incubator-iceberg/pull/425 This PR fixes literal serializability to avoid `Task not serializable` exceptions in Spark. ``` Caused by: java.io.NotSerializableException: java.nio.HeapByteBuffer Serialization stack: - object not serializable (class: java.nio.HeapByteBuffer, value: java.nio.HeapByteBuffer[pos=0 lim=1 cap=1]) - field (class: org.apache.iceberg.expressions.Literals$BaseLiteral, name: byteBuffer, type: class java.nio.ByteBuffer) - object (class org.apache.iceberg.expressions.Literals$StringLiteral, "a") - field (class: org.apache.iceberg.expressions.Predicate, name: literal, type: interface org.apache.iceberg.expressions.Literal) - object (class org.apache.iceberg.expressions.UnboundPredicate, ref(name="value") startsWith ""a"") - field (class: org.apache.iceberg.expressions.And, name: right, type: interface org.apache.iceberg.expressions.Expression) - object (class org.apache.iceberg.expressions.And, (not_null(ref(name="value")) and ref(name="value") startsWith ""a"")) - field (class: org.apache.iceberg.expressions.ResidualEvaluator, name: expr, type: interface org.apache.iceberg.expressions.Expression) ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
