diff --git a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroRecordConverter.java b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroRecordConverter.java index 441428bfa7..09dcf368b5 100644 --- a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroRecordConverter.java +++ b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroRecordConverter.java @@ -195,11 +195,12 @@ private static void addLogicalTypeConversion(SpecificData model, Schema schema, } } + } catch (NoSuchFieldException e) { + // Avro classes without logical types (denoted by the "conversions" field) + } finally { for (Schema.Field field : schema.getFields()) { addLogicalTypeConversion(model, field.schema(), seenSchemas); } - } catch (NoSuchFieldException e) { - // Avro classes without logical types (denoted by the "conversions" field) } } break;