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 2021/12/23 17:41:39 UTC

[GitHub] [iceberg] rdblue commented on a change in pull request #3552: Flink: fix KryoException for serialize getters of RowDataWrapper.

rdblue commented on a change in pull request #3552:
URL: https://github.com/apache/iceberg/pull/3552#discussion_r774707420



##########
File path: flink/v1.12/flink/src/main/java/org/apache/iceberg/flink/RowDataWrapper.java
##########
@@ -80,7 +81,7 @@ public int size() {
     throw new UnsupportedOperationException("Could not set a field in the RowDataWrapper because rowData is read-only");
   }
 
-  private interface PositionalGetter<T> {
+  private interface PositionalGetter<T> extends Serializable {

Review comment:
       Yeah, that seems reasonable to me. I would probably update the implementation classes.
   
   We should also add tests to validate that the `PositionalGetter` implementations are serializable with Java and Kryo.




-- 
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-unsubscribe@iceberg.apache.org

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



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