This is an automated email from the ASF dual-hosted git repository. fokko pushed a commit to branch fd-bump-thrift in repository https://gitbox.apache.org/repos/asf/parquet-format.git
commit 83e51ff9acdc6d8235366f4d47eeedc60560122b Author: Fokko Driesprong <[email protected]> AuthorDate: Thu Apr 13 16:16:59 2023 +0200 PARQUET-2270: Bump Thrift to 0.18.1 --- pom.xml | 2 +- .../java/org/apache/parquet/format/InterningProtocol.java | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 20671a2..e4f5a0d 100644 --- a/pom.xml +++ b/pom.xml @@ -87,7 +87,7 @@ <maven.compiler.target>1.8</maven.compiler.target> <shade.prefix>shaded.parquet</shade.prefix> <thrift.executable>thrift</thrift.executable> - <thrift.version>0.14.1</thrift.version> + <thrift.version>0.18.1</thrift.version> <thrift-maven-plugin.version>0.10.0</thrift-maven-plugin.version> </properties> diff --git a/src/main/java/org/apache/parquet/format/InterningProtocol.java b/src/main/java/org/apache/parquet/format/InterningProtocol.java index 90a1170..6db426b 100644 --- a/src/main/java/org/apache/parquet/format/InterningProtocol.java +++ b/src/main/java/org/apache/parquet/format/InterningProtocol.java @@ -20,6 +20,7 @@ package org.apache.parquet.format; import java.nio.ByteBuffer; +import java.util.UUID; import org.apache.thrift.TException; import org.apache.thrift.protocol.TField; @@ -127,6 +128,11 @@ public class InterningProtocol extends TProtocol { delegate.writeI64(i64); } + @Override + public void writeUuid(UUID uuid) throws TException { + delegate.writeUuid(uuid); + } + public void writeDouble(double dub) throws TException { delegate.writeDouble(dub); } @@ -211,6 +217,11 @@ public class InterningProtocol extends TProtocol { return delegate.readI64(); } + @Override + public UUID readUuid() throws TException { + return delegate.readUuid(); + } + public double readDouble() throws TException { return delegate.readDouble(); }
