You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2020/10/02 15:43:00 UTC
[orc] branch master updated: ORC-669. Reduce breaking changes in
ReaderImpl.java (#547)
This is an automated email from the ASF dual-hosted git repository.
omalley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/master by this push:
new c9bcc7a ORC-669. Reduce breaking changes in ReaderImpl.java (#547)
c9bcc7a is described below
commit c9bcc7a4ae2205e4d7fefdd39e468c14db4ad7b4
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Fri Oct 2 08:41:52 2020 -0700
ORC-669. Reduce breaking changes in ReaderImpl.java (#547)
---
java/core/src/java/org/apache/orc/impl/ReaderImpl.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/java/core/src/java/org/apache/orc/impl/ReaderImpl.java b/java/core/src/java/org/apache/orc/impl/ReaderImpl.java
index f70219b..f0ccbb6 100644
--- a/java/core/src/java/org/apache/orc/impl/ReaderImpl.java
+++ b/java/core/src/java/org/apache/orc/impl/ReaderImpl.java
@@ -67,12 +67,13 @@ public class ReaderImpl implements Reader {
private final long maxLength;
protected final Path path;
protected final OrcFile.ReaderOptions options;
- private final org.apache.orc.CompressionKind compressionKind;
+ protected final org.apache.orc.CompressionKind compressionKind;
protected FSDataInputStream file;
protected int bufferSize;
// the unencrypted stripe statistics or null if they haven't been read yet
protected List<OrcProto.StripeStatistics> stripeStatistics;
private final int metadataSize;
+ protected final List<OrcProto.Type> types;
private TypeDescription schema;
private final List<OrcProto.UserMetadataItem> userMetadata;
private final List<OrcProto.ColumnStatistics> fileStats;
@@ -526,6 +527,7 @@ public class ReaderImpl implements Reader {
this.encryption = new ReaderEncryption(tail.getFooter(), schema,
tail.getStripeStatisticsOffset(), tail.getTailBuffer(), stripes, options.getKeyProvider(), conf);
}
+ this.types = OrcUtils.getOrcTypes(schema);
}
protected FileSystem getFileSystem() throws IOException {