Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion parquet-arrow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<url>https://parquet.apache.org</url>

<properties>
<arrow.version>17.0.0</arrow.version>
<arrow.version>19.0.0</arrow.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ public TypeMapping visit(ArrowType.ListView type) {
return createListTypeMapping();
}

@Override
public TypeMapping visit(ArrowType.LargeListView type) {
return createListTypeMapping();
}

private ListTypeMapping createListTypeMapping() {
if (children.size() != 1) {
throw new IllegalArgumentException("list fields must have exactly one child: " + field);
Expand Down Expand Up @@ -349,6 +354,11 @@ public TypeMapping visit(ArrowType.Duration duration) {
return primitiveFLBA(12, LogicalTypeAnnotation.IntervalLogicalTypeAnnotation.getInstance());
}

@Override
public TypeMapping visit(ArrowType.RunEndEncoded runEndEncoded) {
throw new UnsupportedOperationException("Unsupported type " + runEndEncoded);
}

@Override
public TypeMapping visit(ArrowType.ExtensionType type) {
return ArrowTypeVisitor.super.visit(type);
Expand Down Expand Up @@ -769,6 +779,11 @@ public TypeMapping visit(ArrowType.ListView type) {
return createListTypeMapping(type);
}

@Override
public TypeMapping visit(ArrowType.LargeListView type) {
return createListTypeMapping(type);
}

private TypeMapping createListTypeMapping(ArrowType.ComplexType type) {
if (arrowField.getChildren().size() != 1) {
throw new IllegalArgumentException("Invalid list type: " + type);
Expand Down Expand Up @@ -893,6 +908,11 @@ public TypeMapping visit(ArrowType.Duration duration) {
return primitive();
}

@Override
public TypeMapping visit(ArrowType.RunEndEncoded runEndEncoded) {
throw new UnsupportedOperationException("Unsupported type " + runEndEncoded);
}

@Override
public TypeMapping visit(ArrowType.FixedSizeBinary fixedSizeBinary) {
return primitive();
Expand Down