PARQUET-609: Add Brotli to parquet's thrift definition
Author: Ryan Blue <blue@apache.org>
Closes #40 from rdblue/PARQUET-609-add-brotli and squashes the following commits:
061dcbc [Ryan Blue] PARQUET-609: Add Brotli compression to the format.
4eb1ff0 [Ryan Blue] PARQUET-608: Add thrift.executable property.
diff --git a/pom.xml b/pom.xml
index d5b3b60..be1c184 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,6 +86,7 @@
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
<shade.prefix>shaded.parquet</shade.prefix>
+ <thrift.executable>thrift</thrift.executable>
</properties>
<build>
@@ -97,6 +98,7 @@
<version>0.1.11</version>
<configuration>
<thriftSourceRoot>src/main/thrift</thriftSourceRoot>
+ <thriftExecutable>${thrift.executable}</thriftExecutable>
</configuration>
<executions>
<execution>
diff --git a/src/main/thrift/parquet.thrift b/src/main/thrift/parquet.thrift
index d1b305e..ac4d50e 100644
--- a/src/main/thrift/parquet.thrift
+++ b/src/main/thrift/parquet.thrift
@@ -322,6 +322,7 @@
SNAPPY = 1;
GZIP = 2;
LZO = 3;
+ BROTLI = 4;
}
enum PageType {