yigress opened a new pull request, #4579:
URL: https://github.com/apache/hive/pull/4579

   ### What changes were proposed in this pull request?
   In OrcFileMergeOperator it was creating a orc reader for every file to 
obtain ObjectInspector, however as it is already guaranteed that files are 
compatible, so we only need to create orc reader once to get the 
ObjectInspector. creating orc reader is expensive as it has file system calls 
and extract tail metainfo etc.
   
   
   ### Why are the changes needed?
   minor improvement. 
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### Is the change a dependency upgrade?
   No
   
   
   ### How was this patch tested?
   tested local environment and user dev environment
   


-- 
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

Reply via email to