Skip to content

Commit c8487c7

Browse files
mwong38Michael Wong
andauthored
PARQUET-2042: Add support for unwrapping common Protobuf wrappers and logical Timestamps, Date, TimeOfDay (#900)
Co-authored-by: Michael Wong <[email protected]>
1 parent 452c94d commit c8487c7

File tree

8 files changed

+876
-41
lines changed

8 files changed

+876
-41
lines changed

parquet-protobuf/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<properties>
3333
<elephant-bird.version>4.4</elephant-bird.version>
3434
<protobuf.version>3.25.1</protobuf.version>
35+
<common-protos.version>2.28.0</common-protos.version> <!-- make sure it's compatible with protobuf.version -->
3536
<truth-proto-extension.version>1.1.5</truth-proto-extension.version>
3637
</properties>
3738

@@ -67,6 +68,16 @@
6768
<artifactId>protobuf-java</artifactId>
6869
<version>${protobuf.version}</version>
6970
</dependency>
71+
<dependency>
72+
<groupId>com.google.protobuf</groupId>
73+
<artifactId>protobuf-java-util</artifactId>
74+
<version>${protobuf.version}</version>
75+
</dependency>
76+
<dependency>
77+
<groupId>com.google.api.grpc</groupId>
78+
<artifactId>proto-google-common-protos</artifactId>
79+
<version>${common-protos.version}</version>
80+
</dependency>
7081
<dependency>
7182
<groupId>org.apache.parquet</groupId>
7283
<artifactId>parquet-common</artifactId>
@@ -191,6 +202,7 @@
191202
</goals>
192203
<configuration>
193204
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}</protocArtifact>
205+
<includeMavenTypes>direct</includeMavenTypes>
194206
<addSources>test</addSources>
195207
<addProtoSources>all</addProtoSources>
196208
<includeMavenTypes>direct</includeMavenTypes>

0 commit comments

Comments
 (0)