waterlx commented on a change in pull request #856: URL: https://github.com/apache/incubator-iceberg/pull/856#discussion_r419200546
########## File path: flink/src/main/java/org/apache/iceberg/flink/connector/sink/RecordPartitioner.java ########## @@ -110,7 +110,7 @@ public void partition(Record record) { if (isOptional) { // the wrapped position handles null layers return new WrappedPositionAccessor(p, accessor); - } else if (accessor instanceof PositionAccessor) { + } else if (accessor != null && accessor.getClass() == PositionAccessor.class) { Review comment: This is a temporary fix. Please check https://github.com/apache/incubator-iceberg/issues/994 or its PR. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org