Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ public void testArrayOfOptionalRecords() throws Exception {
Schema schema = Schema.createRecord("HasArray", null, null, false);
schema.setFields(
Lists.newArrayList(new Schema.Field("myarray", Schema.createArray(optional(innerRecord)), null, null)));
System.err.println("Avro schema: " + schema.toString(true));

testRoundTripConversion(
NEW_BEHAVIOR,
Expand All @@ -398,7 +397,6 @@ public void testArrayOfOptionalRecordsOldBehavior() throws Exception {
Schema schema = Schema.createRecord("HasArray", null, null, false);
schema.setFields(
Lists.newArrayList(new Schema.Field("myarray", Schema.createArray(optional(innerRecord)), null, null)));
System.err.println("Avro schema: " + schema.toString(true));

// Cannot use round-trip assertion because InnerRecord optional is removed
testAvroToParquetConversion(
Expand All @@ -418,7 +416,6 @@ public void testOldAvroListOfLists() throws Exception {
Schema schema = Schema.createRecord("AvroCompatListInList", null, null, false);
schema.setFields(
Lists.newArrayList(new Schema.Field("listOfLists", listOfLists, null, JsonProperties.NULL_VALUE)));
System.err.println("Avro schema: " + schema.toString(true));

testRoundTripConversion(
schema,
Expand Down Expand Up @@ -462,7 +459,6 @@ public void testOldThriftListOfLists() throws Exception {
Schema schema = Schema.createRecord("ThriftCompatListInList", null, null, false);
schema.setFields(
Lists.newArrayList(new Schema.Field("listOfLists", listOfLists, null, JsonProperties.NULL_VALUE)));
System.err.println("Avro schema: " + schema.toString(true));

// Cannot use round-trip assertion because repeated group names differ
testParquetToAvroConversion(
Expand Down Expand Up @@ -494,7 +490,6 @@ public void testUnknownTwoLevelListOfLists() throws Exception {
Schema schema = Schema.createRecord("UnknownTwoLevelListInList", null, null, false);
schema.setFields(
Lists.newArrayList(new Schema.Field("listOfLists", listOfLists, null, JsonProperties.NULL_VALUE)));
System.err.println("Avro schema: " + schema.toString(true));

// Cannot use round-trip assertion because repeated group names differ
testParquetToAvroConversion(
Expand Down