parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject [parquet-mr] branch master updated: PARQUET-1480 INT96 to avro not yet implemented error should mention deprecation (#579)
Date Thu, 07 Feb 2019 12:31:44 GMT
This is an automated email from the ASF dual-hosted git repository.

gabor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-mr.git


The following commit(s) were added to refs/heads/master by this push:
     new 6901a20  PARQUET-1480 INT96 to avro not yet implemented error should mention deprecation
(#579)
6901a20 is described below

commit 6901a2040848c6b37fa61f4b0a76246445f396db
Author: Tim Sell <63295+tims@users.noreply.github.com>
AuthorDate: Thu Feb 7 04:31:39 2019 -0800

    PARQUET-1480 INT96 to avro not yet implemented error should mention deprecation (#579)
---
 .../src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java
index 558446e..b4bac2f 100644
--- a/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java
+++ b/parquet-avro/src/main/java/org/apache/parquet/avro/AvroSchemaConverter.java
@@ -291,7 +291,7 @@ public class AvroSchemaConverter {
             }
             @Override
             public Schema convertINT96(PrimitiveTypeName primitiveTypeName) {
-              throw new IllegalArgumentException("INT96 not yet implemented.");
+              throw new IllegalArgumentException("INT96 not implemented and is deprecated");
             }
             @Override
             public Schema convertFLOAT(PrimitiveTypeName primitiveTypeName) {


Mime
View raw message