gszadovszky commented on code in PR #3118:
URL: https://github.com/apache/parquet-java/pull/3118#discussion_r1930581800


##########
parquet-avro/src/main/java/org/apache/parquet/avro/AvroRecordConverter.java:
##########
@@ -963,7 +1003,8 @@ static boolean isElementType(Type repeatedType, Schema 
elementSchema) {
       // synthetic wrapper. Must be a group with one optional or required field
       return true;
     } else if (elementSchema != null && elementSchema.getType() == 
Schema.Type.RECORD) {
-      Schema schemaFromRepeated = 
CONVERTER.convert(repeatedType.asGroupType());
+      AvroSchemaConverter converter = new AvroSchemaConverter(true, conf);

Review Comment:
   As the description of `CONVERTER` states, it is only for testing whether the 
generated schema contains 2-level lists. I think, it would be safe to simply 
hard-code for that `AvroSchemaConverter` constructor to enable reading `INT96` 
values to not to throw an exception. As a result, you don't have to push down 
the conf all the way down.



-- 
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-unsubscr...@parquet.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@parquet.apache.org
For additional commands, e-mail: issues-h...@parquet.apache.org

Reply via email to