Github user prasanthj commented on the issue:

    https://github.com/apache/orc/pull/78
  
    Hive auto-gathers statistics during write (INSERT, CTAS..). Just before 
closing the file, the file sink operator gets the statistics from Writer, 
publishes it for aggregation by the client. This just pushes the stats 
collection part from processOp (row-by-row or vector batch processing) to 
closeOp.
    
    Similarly Reader side interface is used by ANALYZE queries to compute 
statistics just by reading footer. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to