bwzheng2010 opened a new pull request, #4738: URL: https://github.com/apache/hive/pull/4738
### What changes were proposed in this pull request? If the length of the InputSplit is found to be 0, return 0 immediately. ### Why are the changes needed? When tez read a table with many 0 length files, ColumnarSplitSizeEstimator will return Integer.MAX_VALUE bytes length for every 0 length file.Then,TezSplitGrouper will treat those files as big files,and generate at least one MapContainer per 0 file to handle it.This is incorrect and even wasteful. ### Does this PR introduce _any_ user-facing change? NO ### Is the change a dependency upgrade? NO ### How was this patch tested? org.apache.hadoop.hive.ql.io.orc.TestInputOutputFormat#testSplitSizeEstimator -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org