File tree Expand file tree Collapse file tree
parquet-arrow/src/main/java/org/apache/parquet/arrow/schema Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,6 +174,11 @@ public TypeMapping visit(org.apache.arrow.vector.types.pojo.ArrowType.FixedSizeL
174174 return createListTypeMapping ();
175175 }
176176
177+ @ Override
178+ public TypeMapping visit (ArrowType .ListView type ) {
179+ return createListTypeMapping ();
180+ }
181+
177182 private ListTypeMapping createListTypeMapping () {
178183 if (children .size () != 1 ) {
179184 throw new IllegalArgumentException ("list fields must have exactly one child: " + field );
@@ -749,6 +754,11 @@ public TypeMapping visit(org.apache.arrow.vector.types.pojo.ArrowType.FixedSizeL
749754 return createListTypeMapping (type );
750755 }
751756
757+ @ Override
758+ public TypeMapping visit (ArrowType .ListView type ) {
759+ return createListTypeMapping (type );
760+ }
761+
752762 private TypeMapping createListTypeMapping (ArrowType .ComplexType type ) {
753763 if (arrowField .getChildren ().size () != 1 ) {
754764 throw new IllegalArgumentException ("Invalid list type: " + type );
You can’t perform that action at this time.
0 commit comments