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:59:02 UTC
[orc] branch branch-1.6 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 branch-1.6
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/branch-1.6 by this push:
new 03e5415 ORC-669. Reduce breaking changes in ReaderImpl.java (#547)
03e5415 is described below
commit 03e5415601b8c942478f1171d3ad40f6ef6f959b
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Fri Oct 2 08:41:52 2020 -0700
ORC-669. Reduce breaking changes in ReaderImpl.java (#547)
Signed-off-by: Owen O'Malley <om...@apache.org>
---
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 fff09db..1b8d47e 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;
@@ -525,6 +526,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 {