Github user ajayyadava commented on the issue:
https://github.com/apache/orc/pull/169
To make sure that maximum and minimum are always correct, we need to store
intermediate large strings and trim them only at the end.
If anyone has a better approach in mind, then please do let me know.---
