Skip to content

Commit 8ed9a5f

Browse files
Bump org.apache.arrow:arrow-vector from 17.0.0 to 19.0.0 (#3454)
* Bump org.apache.arrow:arrow-vector from 17.0.0 to 19.0.0 Bumps [org.apache.arrow:arrow-vector](https://github.com/apache/arrow-java) from 17.0.0 to 19.0.0. - [Release notes](https://github.com/apache/arrow-java/releases) - [Commits](https://github.com/apache/arrow-java/commits/v19.0.0) --- updated-dependencies: - dependency-name: org.apache.arrow:arrow-vector dependency-version: 19.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix build --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gang Wu <ustcwg@gmail.com>
1 parent 95f4d3f commit 8ed9a5f

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

parquet-arrow/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<url>https://parquet.apache.org</url>
3434

3535
<properties>
36-
<arrow.version>17.0.0</arrow.version>
36+
<arrow.version>19.0.0</arrow.version>
3737
</properties>
3838

3939
<dependencies>

parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ public TypeMapping visit(ArrowType.ListView type) {
179179
return createListTypeMapping();
180180
}
181181

182+
@Override
183+
public TypeMapping visit(ArrowType.LargeListView type) {
184+
return createListTypeMapping();
185+
}
186+
182187
private ListTypeMapping createListTypeMapping() {
183188
if (children.size() != 1) {
184189
throw new IllegalArgumentException("list fields must have exactly one child: " + field);
@@ -349,6 +354,11 @@ public TypeMapping visit(ArrowType.Duration duration) {
349354
return primitiveFLBA(12, LogicalTypeAnnotation.IntervalLogicalTypeAnnotation.getInstance());
350355
}
351356

357+
@Override
358+
public TypeMapping visit(ArrowType.RunEndEncoded runEndEncoded) {
359+
throw new UnsupportedOperationException("Unsupported type " + runEndEncoded);
360+
}
361+
352362
@Override
353363
public TypeMapping visit(ArrowType.ExtensionType type) {
354364
return ArrowTypeVisitor.super.visit(type);
@@ -769,6 +779,11 @@ public TypeMapping visit(ArrowType.ListView type) {
769779
return createListTypeMapping(type);
770780
}
771781

782+
@Override
783+
public TypeMapping visit(ArrowType.LargeListView type) {
784+
return createListTypeMapping(type);
785+
}
786+
772787
private TypeMapping createListTypeMapping(ArrowType.ComplexType type) {
773788
if (arrowField.getChildren().size() != 1) {
774789
throw new IllegalArgumentException("Invalid list type: " + type);
@@ -893,6 +908,11 @@ public TypeMapping visit(ArrowType.Duration duration) {
893908
return primitive();
894909
}
895910

911+
@Override
912+
public TypeMapping visit(ArrowType.RunEndEncoded runEndEncoded) {
913+
throw new UnsupportedOperationException("Unsupported type " + runEndEncoded);
914+
}
915+
896916
@Override
897917
public TypeMapping visit(ArrowType.FixedSizeBinary fixedSizeBinary) {
898918
return primitive();

0 commit comments

Comments
 (0)