zhangbutao commented on code in PR #5391:
URL: https://github.com/apache/hive/pull/5391#discussion_r1732358206
##########
ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcNewSplit.java:
##########
@@ -101,7 +102,7 @@ public void readFields(DataInput in) throws IOException {
byte[] tailBuffer = new byte[tailLen];
in.readFully(tailBuffer);
OrcProto.FileTail fileTail = OrcProto.FileTail.parseFrom(tailBuffer);
- orcTail = new OrcTail(fileTail, null);
+ orcTail = new OrcTail(fileTail, new BufferChunk(0, 0), -1);
Review Comment:
I want to know that if this issue is a regression which caused by orc
version upgrading?
The related orc code snippet was first introduced by ORC 1.6.0 &
[ORC-520](https://issues.apache.org/jira/browse/ORC-520).
So, can i assume that we wont' meet this issue before ORC 1.6.0?
If this issuce was caused by the newer orc version(>1.6.0), should we give a
fix for orc to resolve the issue at its root?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]