You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/08/29 15:36:30 UTC
[GitHub] [incubator-iceberg] aokolnychyi opened a new pull request #425: Fix
Literal serializability
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org