Skip to content

Commit 908d29c

Browse files
committed
Test Apache Parquet 1.14.0 RC0
1 parent 1998e09 commit 908d29c

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

lib/trino-parquet/src/main/java/io/trino/parquet/ParquetMetadataConverter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
import static org.apache.parquet.schema.LogicalTypeAnnotation.dateType;
8080
import static org.apache.parquet.schema.LogicalTypeAnnotation.decimalType;
8181
import static org.apache.parquet.schema.LogicalTypeAnnotation.enumType;
82+
import static org.apache.parquet.schema.LogicalTypeAnnotation.float16Type;
8283
import static org.apache.parquet.schema.LogicalTypeAnnotation.intType;
8384
import static org.apache.parquet.schema.LogicalTypeAnnotation.jsonType;
8485
import static org.apache.parquet.schema.LogicalTypeAnnotation.listType;
@@ -155,6 +156,7 @@ public static LogicalTypeAnnotation getLogicalTypeAnnotation(LogicalType type)
155156
yield timestampType(timestamp.isAdjustedToUTC, convertTimeUnit(timestamp.unit));
156157
}
157158
case UUID -> uuidType();
159+
case FLOAT16 -> float16Type();
158160
};
159161
}
160162

pom.xml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
<dep.kafka-clients.version>3.7.0</dep.kafka-clients.version>
199199
<dep.okio.version>3.9.0</dep.okio.version>
200200
<dep.packaging.version>${dep.airlift.version}</dep.packaging.version>
201-
<dep.parquet.version>1.13.1</dep.parquet.version>
201+
<dep.parquet.version>1.14.0</dep.parquet.version>
202202
<dep.plugin.failsafe.version>${dep.plugin.surefire.version}</dep.plugin.failsafe.version>
203203
<dep.protobuf.version>3.25.3</dep.protobuf.version>
204204
<dep.snowflake.version>3.15.1</dep.snowflake.version>
@@ -1954,6 +1954,12 @@
19541954
<groupId>org.apache.parquet</groupId>
19551955
<artifactId>parquet-format-structures</artifactId>
19561956
<version>${dep.parquet.version}</version>
1957+
<exclusions>
1958+
<exclusion>
1959+
<groupId>javax.annotation</groupId>
1960+
<artifactId>javax.annotation-api</artifactId>
1961+
</exclusion>
1962+
</exclusions>
19571963
</dependency>
19581964

19591965
<dependency>
@@ -2258,6 +2264,14 @@
22582264
</dependencies>
22592265
</dependencyManagement>
22602266

2267+
<repositories>
2268+
<repository>
2269+
<id>parquet-release-candidate</id>
2270+
<name>Parquet Release Candidate</name>
2271+
<url>https://repository.apache.org/content/repositories/orgapacheparquet-1054/</url>
2272+
</repository>
2273+
</repositories>
2274+
22612275
<build>
22622276
<pluginManagement>
22632277
<plugins>
@@ -2386,8 +2400,6 @@
23862400
<exclude>org.yaml:snakeyaml</exclude>
23872401
<!-- use Guice version -->
23882402
<exclude>javax.inject:javax.inject</exclude>
2389-
<!-- use Jakarta version -->
2390-
<exclude>javax.annotation:javax.annotation-api</exclude>
23912403
</excludes>
23922404
<includes combine.children="append">
23932405
<!-- 2.x versions are not affected by CVE-2022-1471 -->

0 commit comments

Comments
 (0)