Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Update to Protocol Buffers 3.2.0
Browse files Browse the repository at this point in the history
This version preserves the IOException causal chain when decoding.
  • Loading branch information
electrum committed May 23, 2017
1 parent fb6bc59 commit 3b62044
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.5.0</version>
<version>3.2.0</version>
</dependency>
</dependencies>

Expand All @@ -53,14 +53,14 @@
<plugin>
<groupId>com.github.os72</groupId>
<artifactId>protoc-jar-maven-plugin</artifactId>
<version>3.1.0.2</version>
<version>3.2.0.1</version>
<executions>
<execution>
<goals>
<goal>run</goal>
</goals>
<configuration>
<protocVersion>2.5.0</protocVersion>
<protocVersion>3.2.0</protocVersion>
<cleanOutputFolder>true</cleanOutputFolder>
</configuration>
</execution>
Expand Down
2 changes: 2 additions & 0 deletions src/main/protobuf/dwrf_proto.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* limitations under the License.
*/

syntax = "proto2";

package com.facebook.hive.orc;

option java_package = "com.facebook.presto.orc.proto";
Expand Down
2 changes: 2 additions & 0 deletions src/main/protobuf/orc_proto.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* limitations under the License.
*/

syntax = "proto2";

package orc.proto;

option java_package = "com.facebook.presto.orc.proto";
Expand Down

0 comments on commit 3b62044

Please sign in to comment.