xccui commented on code in PR #25651:
URL: https://github.com/apache/flink/pull/25651#discussion_r1841594216


##########
flink-formats/flink-parquet/src/main/java/org/apache/flink/formats/parquet/utils/NestedPositionUtil.java:
##########
@@ -50,12 +50,10 @@ public static RowPosition calculateRowOffsets(
         int nullValuesCount = 0;
         BooleanArrayList nullRowFlags = new BooleanArrayList(0);
         for (int i = 0; i < fieldDefinitionLevels.length; i++) {
+            // If a row's last field is an array, the repetition levels for 
the array's items will be
+            // larger than the parent row's repetition level, so we need to 
skip those values.

Review Comment:
   A lint issue. Sorry.
   ```suggestion
               // If a row's last field is an array, the repetition levels for 
the array's items will
               // be larger than the parent row's repetition level, so we need 
to skip those values.
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to