zhangbutao commented on code in PR #5514:
URL: https://github.com/apache/hive/pull/5514#discussion_r1808021598
##########
ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java:
##########
@@ -1669,8 +1670,13 @@ private void populateAndCacheStripeDetails() throws
IOException {
OrcFile.readerOptions(context.conf)
.filesystem(fs)
.maxLength(context.isAcid ? AcidUtils.getLogicalLength(fs,
file) : file.getLen()))) {
- orcTail = new OrcTail(orcReader.getFileTail(),
orcReader.getSerializedFileFooter(),
- file.getModificationTime());
+ BufferChunk bufferChunk = new
BufferChunk(orcReader.getSerializedFileFooter(),
+ getStripeStatisticsOffset(orcReader.getFileTail()));
+ orcTail = new OrcTail(orcReader.getFileTail(),
Review Comment:
Follow the ORC change:
https://github.com/apache/orc/pull/549/files#diff-379a4569d065dfbffdc854790e0de07329025e608e0fb0f5bc03b8a4b9d00f92
Can we use `Reader.getStripeStatistics` in Apache Spark instead?
--
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]