coderex2522 commented on code in PR #1089: URL: https://github.com/apache/orc/pull/1089#discussion_r852803848
########## java/core/src/java/org/apache/orc/impl/TreeReaderFactory.java: ########## @@ -1783,8 +1783,9 @@ protected Decimal64TreeReader(int columnId, @Override public void checkEncoding(OrcProto.ColumnEncoding encoding) throws IOException { - if ((encoding.getKind() != OrcProto.ColumnEncoding.Kind.DIRECT)) { - throw new IOException("Unknown encoding " + encoding + " in column " + + if (encoding.getKind() != OrcProto.ColumnEncoding.Kind.DIRECT && + encoding.getKind() != OrcProto.ColumnEncoding.Kind.DIRECT_V2) { + throw new IOException("rexUnknown encoding " + encoding + " in column " + Review Comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@orc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org