Github user majetideepak commented on the issue:
https://github.com/apache/orc/pull/116
You have to specialize the code for non-primitive types. There is no other
option. I would say specialization of methods like `compare, update` inside
`InternalStatisticsImpl` is the right and simple way to go forward. This class
should be responsible for handling the statistics updates.
ColumnWriters will just have an instance of the InternalStatisticsImpl and
call the corresponding methods to `update` on writing a new value.
---
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.
---