You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "chenjunjiedada (via GitHub)" <gi...@apache.org> on 2023/05/03 00:46:31 UTC

[GitHub] [iceberg] chenjunjiedada commented on a diff in pull request #7493: Flink: add toString, equals, hashCode overrides for RowDataProjection.

chenjunjiedada commented on code in PR #7493:
URL: https://github.com/apache/iceberg/pull/7493#discussion_r1183162278


##########
flink/v1.17/flink/src/main/java/org/apache/iceberg/flink/data/RowDataProjection.java:
##########
@@ -166,7 +169,8 @@ public int getArity() {
 
   @Override
   public RowKind getRowKind() {
-    return rowData.getRowKind();
+    // rowData can be null for nested struct

Review Comment:
   Could you elaborate a bit on 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: 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