parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jul...@apache.org
Subject parquet-mr git commit: PARQUET-765 - Upgrade Avro to 1.8.1
Date Wed, 09 Nov 2016 17:02:01 GMT
Repository: parquet-mr
Updated Branches:
  refs/heads/master cf991604d -> 4453aa3bf


PARQUET-765 - Upgrade Avro to 1.8.1

Escaping the field name `date` to make the test compatible to Avro 1.8.1 as _date_ is a keyword
in avdl from 1.8.1.

Tested by setting the maven parameter `avro.version` to `1.8.1` and initiated a full build
by `mvn clean install`.

Author: Gabor Szadovszky <gabor.szadovszky@cloudera.com>

Closes #382 from gszadovszky/PARQUET-765 and squashes the following commits:

8e48332 [Gabor Szadovszky] PARQUET-765 - Upgrade Avro to 1.8.1
8c8cf7d [Gabor Szadovszky] PARQUET-765 - Unit test failure with Avro 1.8.1


Project: http://git-wip-us.apache.org/repos/asf/parquet-mr/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-mr/commit/4453aa3b
Tree: http://git-wip-us.apache.org/repos/asf/parquet-mr/tree/4453aa3b
Diff: http://git-wip-us.apache.org/repos/asf/parquet-mr/diff/4453aa3b

Branch: refs/heads/master
Commit: 4453aa3bffb632886d2c1406c6547e655dba2bb7
Parents: cf99160
Author: Gabor Szadovszky <gabor.szadovszky@cloudera.com>
Authored: Wed Nov 9 09:01:57 2016 -0800
Committer: Julien Le Dem <julien@dremio.com>
Committed: Wed Nov 9 09:01:57 2016 -0800

----------------------------------------------------------------------
 parquet-avro/src/test/resources/car.avdl | 2 +-
 pom.xml                                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-mr/blob/4453aa3b/parquet-avro/src/test/resources/car.avdl
----------------------------------------------------------------------
diff --git a/parquet-avro/src/test/resources/car.avdl b/parquet-avro/src/test/resources/car.avdl
index b848da5..1f459a3 100644
--- a/parquet-avro/src/test/resources/car.avdl
+++ b/parquet-avro/src/test/resources/car.avdl
@@ -21,7 +21,7 @@
 protocol Cars {
 
     record Service {
-        long date;
+        long `date`;
         string mechanic;
     }
 

http://git-wip-us.apache.org/repos/asf/parquet-mr/blob/4453aa3b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5f57e13..beb1e93 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,7 +86,7 @@
     <fastutil.version>6.5.7</fastutil.version>
     <semver.api.version>0.9.33</semver.api.version>
     <slf4j.version>1.7.5</slf4j.version>
-    <avro.version>1.8.0</avro.version>
+    <avro.version>1.8.1</avro.version>
     <guava.version>11.0</guava.version>
     <mockito.version>1.9.5</mockito.version>
   </properties>


Mime
View raw message