SinghAsDev commented on a change in pull request #3774:
URL: https://github.com/apache/iceberg/pull/3774#discussion_r775695230



##########
File path: 
parquet/src/test/java/org/apache/iceberg/parquet/TestParquetSchemaUtil.java
##########
@@ -204,6 +204,54 @@ public void testSchemaConversionForHiveStyleLists() {
     Assert.assertEquals("Schema must match", expectedSchema.asStruct(), 
actualSchema.asStruct());
   }
 
+  @Test
+  public void testSchemaConversionForHiveStyleTwoLevelList() {
+    String messageType =
+            "message root {" +
+            "  required group f0 {" +
+            "    required group f00 (LIST) {" +
+            "      repeated group element {" +
+            "        required int32 f000;" +
+            "        optional int64 f001;" +
+            "      }" +
+            "    }" +
+            "  }" +
+            "}";
+
+    MessageType parquetScehma = 
MessageTypeParser.parseMessageType(messageType);
+    Schema expectedSchema = new Schema(
+            required(1, "f0", Types.StructType.of(

Review comment:
       Thanks @kbendick , I just did that and updated the PR as well.




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to